forked from misiektoja/spotify_monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
22 lines (19 loc) · 753 Bytes
/
Copy pathstale.yml
File metadata and controls
22 lines (19 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *" # Runs once per day
workflow_dispatch: # Allows manual triggering
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 7
stale-issue-message: "This issue has been marked as stale because it has been inactive for 30 days. It will be closed in 7 days if no further activity occurs."
close-issue-message: "Closing this issue due to inactivity. Feel free to reopen if needed."
exempt-issue-labels: "pinned,important"