Update types for all network #590
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update types for all network | |
on: | |
schedule: | |
- cron: '0 8 * * *' | |
workflow_dispatch: | |
jobs: | |
chains_update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current repository to Master branch | |
uses: actions/checkout@v1 | |
- name: Set up actual paths | |
uses: ./.github/workflows/setup-path | |
- name: Install dependencies | |
run: make init | |
- name: Update chain types | |
run: make generate_type_files | |
- name: Make Pull Request | |
uses: ./.github/workflows/make-pull-request | |
with: | |
commit-files: . | |
commit-message: Update chain types | |
app-id: ${{ secrets.PR_APP_ID}} | |
app-token: ${{ secrets.PR_APP_TOKEN}} | |
branch-name: update-type-files | |
pr-title: Update types for networks | |
pr-body: This PR was generated automatically by the GitHub Action, **update-types**. | |
Feel free to close this PR if the changes are not needed. | |
pr-base: master |