Run the scrum bot #1250
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: "Run the scrum bot" | |
on: | |
schedule: | |
# Cron is minute | hour (UTC) | day of month | month | day of week | |
- cron: "40 22 * * *" | |
workflow_dispatch: | |
jobs: | |
create-issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run upkeep.py | |
run: | | |
pip install --requirement requirements.txt | |
pytest | |
python upkeep.py --workdays-ahead=1 --token=${{ secrets.SCRUMLORD_TOKEN }} | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_author: scrum-lord <[email protected]> |