Skip to content

Commit ce3fef3

Browse files
rugeGerritsencarlescufi
authored andcommitted
actions: Add stale action to nrfxlib
This will ensure we reduce the list of old abandoned PRs. Signed-off-by: Rubin Gerritsen <[email protected]>
1 parent 781639f commit ce3fef3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/stale.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Close stale pull requests/issues"
2+
on:
3+
schedule:
4+
- cron: "16 00 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-24.04
9+
steps:
10+
- uses: actions/stale@v9
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-pr-message: 'This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time.'
14+
stale-issue-message: 'This issue has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 7 days. Note, that you can always re-open a closed issue at any time.'
15+
days-before-stale: 30
16+
days-before-close: 7
17+
stale-issue-label: 'Stale'
18+
stale-pr-label: 'Stale'

0 commit comments

Comments
 (0)