Skip to content

Commit a4bf643

Browse files
authored
Merge pull request #139 from olehermanse/main
GH Actions: Copied stale.yml from core
2 parents aea5c4b + f629d0d commit a4bf643

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)