forked from kyverno/kyverno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add issue-lifecycle-management workflow
- Loading branch information
1 parent
305529e
commit 1951e1b
Showing
2 changed files
with
24 additions
and
22 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,24 @@ | ||
name: 'Handle stale issues and PRs' | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Run every day at midnight | ||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: mviswanathsai/stale@rotten-branch | ||
with: | ||
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be rotten in 30 days.' | ||
stale-pr-message: 'This pr is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be rotten in 30 days.' | ||
rotten-issue-message: 'This issue is rotten because it has been stale for 90 days with no activity. Remove rotten label or comment or this will be closed in 30 days.' | ||
rotten-pr-message: 'This pr is rotten because it has been stale for 90 days with no activity. Remove rotten label or comment or this will be closed in 30 days.' | ||
days-before-stale: 90 | ||
days-before-rotten: 30 | ||
days-before-close: 30 | ||
stale-issue-label: 'lifecycle/stale' | ||
stale-pr-label: 'lifecycle/stale' | ||
rotten-issue-label: 'lifecycle/rotten' | ||
rotten-pr-label: 'lifecycle/rotten' |
This file was deleted.
Oops, something went wrong.