Skip to content

Commit 873b30f

Browse files
committed
stale GHA
1 parent f2ff4ac commit 873b30f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/stale.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: 'Stale issues and PRs handler'
3+
4+
# Handles stale github issues and pull requests.
5+
on:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: '0 0 * * *'
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.APIX_BOT_PAT }}
15+
steps:
16+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
17+
id: stale
18+
with:
19+
stale-issue-message: 'This issue has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy!'
20+
stale-pr-message: 'This PR has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy!'
21+
stale-issue-label: 'stale'
22+
stale-pr-label: 'stale'
23+
days-before-stale: 5
24+
days-before-close: 2
25+
exempt-pr-labels: 'not_stale'
26+
exempt-issue-labels: 'not_stale'

0 commit comments

Comments
 (0)