update profiles.csv #49
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 profiles.csv' | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '_profiles/**' | |
workflow_dispatch: | |
jobs: | |
extract: | |
name: 'run extract.py' | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out the repo" | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: "Setup Python 3" | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: 'install pyyaml' | |
run: | | |
pip install pyyaml | |
- name: 'run extract.py' | |
run: 'python3 extract.py' | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: updated profiles.csv automatically (through GitHub Action) | |