10
10
workflow_dispatch : # enables manual trigger
11
11
# Scheduled to run at 12:00 on every Monday
12
12
schedule :
13
- - cron : " 0 0 * * MON"
13
+ - cron : ' 0 0 * * MON'
14
14
15
15
jobs :
16
16
# Trigger: Scheduled weekly
17
17
# Returns: labels issues and PRs with 'stale' after 30 days inactivity
18
18
# PRs: automated closing after 1 more week of inactivity
19
19
# Issues: requires manual closing by maintainers
20
20
stale :
21
- runs-on : ubuntu-latest
21
+ runs-on : ubuntu-24.04
22
22
permissions :
23
23
issues : write
24
24
pull-requests : write
@@ -27,21 +27,21 @@ jobs:
27
27
- uses : actions/stale@v9 # https://github.com/actions/stale
28
28
with :
29
29
repo-token : ${{ secrets.GITHUB_TOKEN }}
30
- stale-issue-label : " stale"
31
- stale-pr-label : " stale"
30
+ stale-issue-label : ' stale'
31
+ stale-pr-label : ' stale'
32
32
days-before-stale : 30
33
33
# disables closing issues
34
34
days-before-issue-close : -1
35
35
days-before-pr-close : 7
36
36
# only scan assigned issues
37
37
include-only-assigned : true
38
38
# ignore issues assigned to staff and bots
39
- exempt-assignees : " kyleecodes, swetha-charles, eleanorreem, annarhughes, tarebyte, dependabot[bot], dependabot, github-actions[bot], github-actions"
39
+ exempt-assignees : ' kyleecodes, swetha-charles, eleanorreem, annarhughes, tarebyte, dependabot[bot], dependabot, github-actions[bot], github-actions'
40
40
# disable removing stale label due to irrelevant activity (like branch updates)
41
41
remove-stale-when-updated : false
42
42
# exempt dependabot prs from going stale
43
43
exempt-pr-labels : dependencies
44
44
# disable counting irrelevant activity (branch updates) towards day counter on prs.
45
45
ignore-pr-updates : true
46
46
# actions/stale does not enable tagging authors / assignees, so comments are handled by Issue Comments Workflows.
47
- stale-pr-message : " As per Chayn policy, after 30 days of inactivity, we will close this PR in 7 days. Please comment or update to keep open."
47
+ stale-pr-message : ' As per Chayn policy, after 30 days of inactivity, we will close this PR in 7 days. Please comment or update to keep open.'
0 commit comments