Update Notices #1070
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 Notices | |
on: | |
schedule: | |
- cron: "0 3-19/4 * * *" # 5 checks | |
# - cron: "*/40 02-18 * * *" # 24 checks | |
# - cron: "0 19-23/2 * * *" # 2 checks | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- name: fetching LFS files | |
run: | | |
git lfs pull | |
- name: checking for new notices | |
run: | | |
python -m bubt_cnr -notice | |
shell: bash | |
- name: pushing commits (if neccessary) | |
run: | | |
chmod +x commit.sh | |
sh commit.sh | |
shell: bash |