🎉 Standardize explorer names and subtitles #42
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: Migration Flows Explorer | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
paths: | |
- "scripts/migration-flows-explorer/**" | |
pull_request: | |
paths: | |
- "scripts/migration-flows-explorer/**" | |
# Auto-run the script generating the migration flows explorer spreadsheet, and push it as a commit to the respective branch | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Install dependencies | |
run: cd scripts/migration-flows-explorer && poetry install | |
- name: Run migration flows explorer script | |
run: cd scripts/migration-flows-explorer && poetry run python migration-flows-explorer.py | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "🤖 update migration-flows-explorer" |