Skip to content

Commit

Permalink
testing old issues bot (will revert; needs to not be on main branch)
Browse files Browse the repository at this point in the history
  • Loading branch information
snehara99 committed Oct 19, 2023
1 parent 15dc565 commit b1ea359
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/close-old-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
inputs:
inactive-days:
description: "inactive-days: Specify how many days the issue has to have had no activity to get the 'stale-old' label."
type: number
default: 720
stale-label-days:
description: "stale-label-days: Specify how many days the issue has to have had the 'stale-old' label to be closed. Must be >= 14 days or will default to -1 days (never)."
type: number
default: -1
jobs:
stale:
Expand All @@ -23,6 +25,7 @@ jobs:
exempt-issue-labels: ${{ env.stale-exempt-label }}
days-before-pr-stale: -1
days-before-pr-close: -1
only-labels: stale-test
days-before-stale: ${{ env.stale-days }}
stale-issue-message: "This issue is now marked as '${{ env.stale-label }}' due to there being no activity on it for the past ${{ env.stale-days }} days. Unless the '${{ env.stale-label }}' label is removed or the issue is commented on, this will be remain open for at least 14 days and then it may be closed. If you would like to make this issue exempt from getting stale, please add the '${{ env.stale-exempt-label }}' label."
days-before-close: ${{ env.close-days }}
Expand Down

0 comments on commit b1ea359

Please sign in to comment.