pipelines/.forgejo/workflows/chores.yml
Kumi 1d8f8c63df
Some checks failed
/ chores (push) Failing after 13s
Enhanced workflow with environment variables
Introduced a set of environment variables in the CI workflow
configuration to align with the chores script's requirements. The
workflow now passes explicit values for necessary variables, matching
the environment variable name changes in the chores script for
consistency and clarity. Ensured correct token usage by updating TO
token reference. This change facilitates better configuration management
and error handling in automated tasks.
2024-02-18 13:13:51 +01:00

19 lines
No EOL
552 B
YAML

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