Update change log #136
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 change log | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [trigger_update] | |
schedule: | |
- cron: '30 2 * * 0,3' | |
jobs: | |
update-file: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: master | |
- name: Install Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install subversion -y | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry config virtualenvs.create false | |
poetry install --no-dev | |
- name: Update file | |
run: | | |
bash update_file.sh | |
cd gene_characterisation_status | |
bash get_latest_numbers.sh | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: updated to last revision | |
file_pattern: "*.tsv gene_characterisation_status/latest_revision/*.txt gene_characterisation_status/latest_revision/*.tsv" |