-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Starting with high values because we have not had this before - Initial values should be 300 days => stale and 30 days => close
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: 'Stale issue handler' | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 7 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4.0.0 | ||
id: stale | ||
with: | ||
stale-issue-message: 'This Issue will be closed in 30 days. Please remove the "Stale" label or comment to avoid closure with no action.' | ||
stale-pr-message: 'This PR will be closed in 30 days. Please remove the "Stale" label or comment to avoid closure with no action.' | ||
days-before-stale: 300 | ||
days-before-close: 30 | ||
stale-issue-label: 'stale' | ||
stale-pr-label: 'stale' | ||
close-issue-label: 'closed' | ||
close-pr-label: 'closed' | ||
exempt-issue-labels: 'bug,enhancement,documentation,waiting,keep' | ||
exempt-all-milestones: true | ||
exempt-all-assignees: true | ||
- name: Print outputs | ||
run: echo ${{ join(steps.stale.outputs.*, ',') }} |