chore: label and close issues before 2023 (#24278)

This commit is contained in:
Marion Kamoike-Bouguet 2025-08-29 17:02:44 +02:00 committed by GitHub
parent 674c4a343c
commit 460bc6d111
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
name: Close Pre-2022 Issues
name: Close Pre-2023 Issues
on:
workflow_dispatch: # Allows manual triggering from the Github UI
@ -25,7 +25,7 @@ jobs:
# debug-only: true # Dry run to confirm the workflow is working
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true # Start with oldest issues first
only-labels: 'stale-before-2022' # Only process issues with this label
only-labels: 'stale-before-2023' # Only process issues with this label
exempt-issue-labels: 'issue: security,severity: critical,severity: high' # Don't close issues with this label
exempt-all-milestones: true # Don't close issues that are part of a milestone
exempt-all-assignees: false # Close even if they are assigned

View File

@ -1,4 +1,4 @@
name: Label Pre-2022 Issues
name: Label Pre-2023 Issues
on:
workflow_dispatch: # Allows manual triggering from the Github UI
@ -14,8 +14,8 @@ jobs:
- name: Label old issues
run: |
# Set the cutoff date (issues created before this date will be labeled)
CUTOFF_DATE="2022-01-01"
LABEL="stale-before-2022"
CUTOFF_DATE="2023-01-01"
LABEL="stale-before-2023"
echo "Labeling issues created before $CUTOFF_DATE with $LABEL"