Updated `.forgejo/workflows/chores.yml` to use `vars` context for environment variables, ensuring consistent variable scoping and improved maintainability. This change simplifies the way variables are managed in GitHub Actions workflow.
This commit is contained in:
parent
11bde9e12d
commit
8cb6718dca
1 changed files with 6 additions and 6 deletions
|
@ -6,12 +6,12 @@ jobs:
|
||||||
chores:
|
chores:
|
||||||
env:
|
env:
|
||||||
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
FORGEJO_URL: ${{ FORGEJO_URL }}
|
FORGEJO_URL: ${{ vars.FORGEJO_URL }}
|
||||||
CHORES_ASSIGNEES: ${{ CHORES_ASSIGNEES }}
|
CHORES_ASSIGNEES: ${{ vars.CHORES_ASSIGNEES }}
|
||||||
CHORES_REPO_OWNER: ${{ CHORES_REPO_OWNER }}
|
CHORES_REPO_OWNER: ${{ vars.CHORES_REPO_OWNER }}
|
||||||
CHORES_REPO_NAME: ${{ CHORES_REPO_NAME }}
|
CHORES_REPO_NAME: ${{ vars.CHORES_REPO_NAME }}
|
||||||
CHORES_EXPIRY_DAYS: ${{ CHORES_EXPIRY_DAYS }}
|
CHORES_EXPIRY_DAYS: ${{ vars.CHORES_EXPIRY_DAYS }}
|
||||||
CHORES_TEXT: ${{ CHORES_TEXT }}
|
CHORES_TEXT: ${{ vars.CHORES_TEXT }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in a new issue