Skip to content

Update config files #672

Update config files

Update config files #672

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