Skip to content

Commit f629d0d

Browse files
committed
GH Actions: Copied stale.yml from core
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
1 parent aea5c4b commit f629d0d

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# For more information, see:
2+
# https://github.com/actions/stale
3+
name: Label and close stale pull requests
4+
5+
on:
6+
schedule:
7+
- cron: "31 19 * * *"
8+
workflow_dispatch:
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: write
15+
16+
steps:
17+
- uses: actions/stale@v5
18+
with:
19+
repo-token: ${{ secrets.GITHUB_TOKEN }}
20+
stale-pr-message: "Marking this PR as stale due to inactivity; it will be closed in 7 days."
21+
stale-pr-label: "stale"
22+
days-before-stale: 30
23+
days-before-close: 7
24+
close-pr-message: "Closing PR due to inactivity. Feel free to open a new PR if necessary."

0 commit comments

Comments
 (0)