Skip to content

Update types for all network #276

Update types for all network

Update types for all network #276

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: pip install -r requirements.txt
- name: Update chain types
run: python ./scripts/create_type_file.py prod
- 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-types-${{github.run_number}}
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