Skip to content

Commit 9f66816

Browse files
ahmedhamouda78Ahmed Hamouda
andauthored
chore: add stale issue bot (#14521)
* chore: add stale issue bot * fix: pin stale action commit * chore: improve stale bot closing message * chore: modify stale bot to target questions only --------- Co-authored-by: Ahmed Hamouda <[email protected]>
1 parent 4c872d1 commit 9f66816

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Close pending-community-response issues
2+
3+
on:
4+
schedule:
5+
- cron: '30 2 * * *' # runs daily at 02:30 UTC
6+
workflow_dispatch: {}
7+
8+
permissions:
9+
issues: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
only-issue-labels: pending-community-response,question
19+
stale-issue-label: ''
20+
days-before-issue-close: 14
21+
close-issue-message: 'This issue is being automatically closed due to lack of recent activity. Please feel free to reopen it if you have any further questions.'
22+
days-before-pr-stale: -1 # ignore PRs
23+
days-before-pr-close: -1 # ignore PRs
24+
remove-issue-stale-when-updated: true
25+
operations-per-run: 100
26+
debug-only: true # TODO: remove this when the dry-run succeeds

0 commit comments

Comments
 (0)