-
Notifications
You must be signed in to change notification settings - Fork 9
41 lines (35 loc) · 948 Bytes
/
providers-list.yml
File metadata and controls
41 lines (35 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Update Providers List
on:
schedule:
- cron: '0 */12 * * *'
workflow_dispatch:
jobs:
updates-providers-list:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Clone repo
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: install node v12
uses: actions/setup-node@v1
with:
node-version: 14
- name: yarn install
run: |
yarn install
yarn global add ts-node
yarn upgrade
- name: Update providers
run: |
ts-node ./.github/scripts/update-providers.ts
- name: Commit
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore: generate providers list"
git push --no-verify