1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

Use env variable

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2023-05-31 22:14:05 +02:00
parent b2c73f8325
commit 364537b324

View File

@ -23,7 +23,7 @@ jobs:
days-before-stale: 30
days-before-close: 5
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.'
stale-issue-label: $stale_label
stale-issue-label: '${{ env.stale_label }}'
exempt-issue-labels: 'Internal, Fixed in next release, Bug: Confirmed, Documentation Needed'
exempt-all-issue-assignees: true
operations-per-run: 300
@ -42,7 +42,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3.5.2
- name: Remove 'stale' label
run: gh issue edit ${{ github.event.issue.number }} --remove-label $stale_label
env:
run: gh issue edit ${{ github.event.issue.number }} --remove-label ${{ env.stale_label }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}