Skip to content

Commit c9890f9

Browse files
Steven Lockejoaopapereira
Steven Locke
authored andcommitted
adding action for marking issues as stale and closing stale issues
Signed-off-by: Joao Pereira <joaod@vmware.com>
1 parent e5197ec commit c9890f9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Mark issues stale and close stale issues
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@87c2b794b9b47a9bec68ae03c01aeb572ffebdb1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
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.'
17+
stale-issue-label: 'stale'
18+
exempt-issue-label: 'discussion'
19+
only-labels: 'carvel-triage'
20+
days-before-stale: 40
21+
days-before-close: 5

0 commit comments

Comments
 (0)