pipelines/.forgejo/workflows/chores.yml
Kumi 965d1a41f1
Enabled scheduled execution for chores workflow
Uncommented the cron job in the chores workflow configuration, setting
it to run automatically at noon every Friday. This change facilitates
regular, automated maintenance tasks without manual intervention.
2024-02-18 13:35:18 +01:00

19 lines
No EOL
573 B
YAML

on:
schedule:
- cron: '0 12 * * 5'
jobs:
chores:
env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
FORGEJO_URL: ${{ vars.FORGEJO_URL }}
CHORES_ASSIGNEES: ${{ vars.CHORES_ASSIGNEES }}
CHORES_REPO_OWNER: ${{ vars.CHORES_REPO_OWNER }}
CHORES_REPO_NAME: ${{ vars.CHORES_REPO_NAME }}
CHORES_EXPIRY_DAYS: ${{ vars.CHORES_EXPIRY_DAYS }}
CHORES_TEXT: ${{ vars.CHORES_TEXT }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Create Chores Issue
run: python3 scripts/chores.py