Skip to content

Commit 3034074

Browse files
authored
Add stale action for PRs
1 parent cba6f96 commit 3034074

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Mark stale PRs
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 12 * * *"
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v3
12+
with:
13+
stale-pr-message: >
14+
This pull request has been automatically marked as stale because it has not
15+
had recent activity. It will be closed if no further activity occurs.
16+
Thank you for your contributions.
17+
stale-pr-label: "stale"
18+
exempt-pr-labels: "pinned,security,dependencies"
19+
days-before-pr-stale: 30
20+
days-before-pr-close: 7
21+
ascending: true
22+
operations-per-run: 100

0 commit comments

Comments
 (0)