forked from carvel-dev/kapp
-
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.
adding action for marking issues as stale and closing stale issues
Signed-off-by: Joao Pereira <joaod@vmware.com>
- Loading branch information
1 parent
822f07b
commit 94318ad
Showing
1 changed file
with
21 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,21 @@ | ||
name: Mark issues stale and close stale issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/stale@87c2b794b9b47a9bec68ae03c01aeb572ffebdb1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.' | ||
stale-issue-label: 'stale' | ||
exempt-issue-label: 'discussion' | ||
only-labels: 'carvel-triage' | ||
days-before-stale: 40 | ||
days-before-close: 5 |