Skip to content

Commit c066315

Browse files
authored
Create stale-support-escalation.yml
1 parent 3fe4656 commit c066315

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
name: 'Close stale support escalation issues'
3+
on:
4+
push:
5+
branches:
6+
- master
7+
schedule:
8+
- cron: '30 1 * * *' # Run each day at 1:30 UTC
9+
10+
jobs:
11+
stale:
12+
if: github.repository == 'github/ghes' || github.repository == 'github/enterprise2' || github.repository == 'github/backup-utils-private'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v4
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
stale-issue-message: 'This support escalation issue is stale because it has been open 30 days with no activity. To make it never stale, add a label never-stale.'
19+
close-issue-message: 'This support escalation issue is closed because it has been open 60 days with no activity. To make it never stale, add a label never-stale.'
20+
days-before-stale: 30
21+
days-before-close: 60
22+
only-labels: 'support-escalation'
23+
stale-issue-label: 'stale'
24+
exempt-issue-labels: 'never-stale,P1,P2,P3'

0 commit comments

Comments
 (0)