forked from EdgeTX/edgetx
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (24 loc) · 893 Bytes
/
auto_close.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: 'Auto-close marked issues'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
# Issue closure message
close-issue-message: 'This issue has been closed due to no activity in over four weeks after having been marked as closure pending.'
# Issue close reason
close-issue-reason: not_planned
# Do not mark issues or PRs as stale automaticaly
days-before-stale: -1
# Close issue/PR if no activity for four weeks after closure pending warning
days-before-close: 28
# Do not auto close PRs
days-before-pr-close: -1
# Do not auto-close an issue if it is assigned to a milestone
exempt-all-issue-milestones: true
# Stale issue label
stale-issue-label: 'closing 🚪'