Skip to content

Commit

Permalink
increased operation limit (#3392)
Browse files Browse the repository at this point in the history
  • Loading branch information
snehara99 authored Oct 18, 2023
1 parent 0dcb483 commit 15dc565
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/close-old-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:
description: "inactive-days: Specify how many days the issue has to have had no activity to get the 'stale-old' label."
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."
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)."
default: -1
jobs:
stale:
runs-on: ubuntu-latest
env:
stale-days: ${{ github.event.inputs.inactive-days || 720 }}
close-days: ${{ github.event.inputs.stale-label-days || -1 }}
close-days: ${{ github.event.inputs.stale-label-days >= 14 && github.event.inputs.stale-label-days || -1 }}
stale-label: stale-old
stale-exempt-label: stale-exempt
steps:
Expand All @@ -24,7 +24,7 @@ jobs:
days-before-pr-stale: -1
days-before-pr-close: -1
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 ${{ env.close-days }} 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."
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 }}
close-issue-message: "This issue is now closed due to there being no activity on it for the past ${{ env.close-days }} days since being marked as '${{ env.stale-label }}'."
operations-per-run: 100
operations-per-run: 200
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
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 and being labelled '${{ env.only-label }}'. Unless the '${{ env.stale-label }}' label is removed or the issue is commented on, this will be closed in ${{ env.close-days }} days. If you would like to make this issue exempt from getting stale, please remove the '${{ env.only-label }}' and '${{ env.stale-label }}' labels or add the '${{ env.stale-exempt-label }}' label"
days-before-close: ${{ env.close-days }}
close-issue-message: "This issue is now closed due to there being no activity on it for the past ${{ env.close-days }} days since being marked as '${{ env.stale-label }}'."
operations-per-run: 100
operations-per-run: 200

0 comments on commit 15dc565

Please sign in to comment.