Skip to content

Commit 64ce8f7

Browse files
jockebechjforissier
authored andcommitted
GitHub actions: add a stales.yml file
Add a stales.yml similar to the ones we find in the other OP-TEE gits. Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
1 parent ff4b493 commit 64ce8f7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/stales.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'Close stale issues and pull requests with no recent activity'
2+
on:
3+
schedule:
4+
- cron: "15 00 * * *"
5+
6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v4.0.1
15+
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
stale-issue-message: 'This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.'
19+
stale-pr-message: 'This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.'
20+
stale-issue-label: Stale
21+
stale-pr-label: Stale
22+
exempt-issue-labels: bug,enhancement
23+
exempt-pr-labels: bug,enhancement
24+
days-before-stale: 30
25+
days-before-close: 5
26+
remove-stale-when-updated: true
27+
remove-issue-stale-when-updated: true
28+
remove-pr-stale-when-updated: true

0 commit comments

Comments
 (0)