diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index ce96631aa..000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,44 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 14 -# Issues with these labels will never be considered stale -exemptLabels: - - Epic - - Area/CLI - - Area/Cloud/AWS - - Area/Cloud/Azure - - Area/Cloud/GCP - - Area/Cloud/vSphere - - Area/CSI - - Area/Design - - Area/Documentation - - Area/Plugins - - Bug - - Enhancement/User - - kind/requirement - - kind/refactor - - kind/tech-debt - - limitation - - Needs investigation - - Needs triage - - Needs Product - - P0 - Hair on fire - - P1 - Important - - P2 - Long-term important - - P3 - Wouldn't it be nice if... - - Product Requirements - - Restic - GA - - Restic - - release-blocker - - Security -# Label to use when marking an issue as stale -staleLabel: staled -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: > - Closing the stale issue. diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index 80944e8cf..df5fe1fc7 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -1,8 +1,7 @@ name: "Close stale issues and PRs" on: schedule: - # First of every month - - cron: "30 1 * * *" + - cron: "30 1 * * *" # Every day at 1:30 UTC jobs: stale: @@ -11,14 +10,14 @@ jobs: - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. If a Velero team member has requested log or more information, please provide the output of the shared commands." - close-issue-message: "This issue was closed because it has been stalled for 5 days with no activity." - days-before-issue-stale: 30 - days-before-issue-close: 5 + stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands." + close-issue-message: "This issue was closed because it has been stalled for 14 days with no activity." + days-before-issue-stale: 60 + days-before-issue-close: 14 + stale-issue-label: staled # Disable stale PRs for now; they can remain open. days-before-pr-stale: -1 days-before-pr-close: -1 # Only issues made after Feb 09 2021. start-date: "2021-09-02T00:00:00" - # Only make issues stale if they have these labels. Comma separated. - only-labels: "Needs info,Duplicate" + exempt-issue-labels: "Epic,Area/CLI,Area/Cloud/AWS,Area/Cloud/Azure,Area/Cloud/GCP,Area/Cloud/vSphere,Area/CSI,Area/Design,Area/Documentation,Area/Plugins,Bug,Enhancement/User,kind/requirement,kind/refactor,kind/tech-debt,limitation,Needs investigation,Needs triage,Needs Product,P0 - Hair on fire,P1 - Important,P2 - Long-term important,P3 - Wouldn't it be nice if...,Product Requirements,Restic - GA,Restic,release-blocker,Security"