mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
chore: label and close issues before 2023 (#24278)
This commit is contained in:
parent
674c4a343c
commit
460bc6d111
4
.github/workflows/close_stale_issues.yml
vendored
4
.github/workflows/close_stale_issues.yml
vendored
@ -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
|
||||
|
||||
6
.github/workflows/label_stale_issues.yml
vendored
6
.github/workflows/label_stale_issues.yml
vendored
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user