Check for BO4E updates #30
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: Check for BO4E updates | |
on: | |
schedule: | |
- cron: '23 5 * * 0' | |
# Every Sunday at 5:23 am | |
workflow_dispatch: | |
# Enable manual workflow runs in the Actions tab | |
jobs: | |
bo4e_updater: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r dev_requirements/requirements-generate-bo4e.txt | |
pip install -r dev_requirements/requirements-formatting.txt | |
- name: Run updater | |
run: | | |
python bo4e/bo4e_updater.py | |
env: | |
GITHUB_ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}} |