-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (39 loc) · 1.26 KB
/
update_chains_file.yml
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
42
43
44
45
46
47
48
49
name: Update config files
on:
workflow_dispatch:
schedule:
- cron: '0 8 * * *'
jobs:
update-config-files:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: 🛠 Set up env variables
uses: ./.github/workflows/setup-env
- name: ⚙️ Install dependencies
run: npm install
- name: 📝 Update chains file
run: npm run update:chains-file
- name: 📝 Update tokens file
run: npm run update:tokens-file
- name: 📝 Update specName
run: |
cd metadataCreator
npm install
npm run updateSpecName
- name: Make Pull Request
uses: ./.github/workflows/make-pull-request
with:
commit-files: |
./chains/**/*.json
./tokens/**/*.json
commit-message: "ci: update config files"
app-id: ${{ secrets.PR_APP_ID }}
app-token: ${{ secrets.PR_APP_TOKEN }}
branch-name: update-chains-file
pr-title: "Update config files"
pr-body: |
This PR was generated automatically by the GitHub Action, **update-config-files**.
Feel free to close this PR if the changes are not needed.
pr-base: main