88# yamllint disable rule:empty-lines
99env :
1010 CLOSE_MESSAGE : >
11- This issue has been automatically closed after 30 days of inactivity
11+ This {0} has been automatically closed after 30 days of inactivity
1212 following its stale status (no activity for a total of 240 days).
1313
1414 If this is still relevant, feel free to reopen it or leave a comment
1515 with additional details so we can continue the discussion.
1616
1717 WARN_MESSAGE : >
18- This issue has been marked as stale due to 210 days of inactivity.
18+ This {0} has been marked as stale due to 210 days of inactivity.
1919
2020 It will be automatically closed in 30 days if no further activity occurs.
2121 If this is still relevant, please leave a comment or update it to keep it open.
@@ -39,12 +39,12 @@ jobs:
3939 days-before-close : 30
4040 stale-issue-label : stale
4141 exempt-issue-labels : never-stale, confirmed-bug
42- close-issue-message : ${{ env.CLOSE_MESSAGE }}
43- stale-issue-message : ${{ env.WARN_MESSAGE }}
42+ close-issue-message : ${{ format( env.CLOSE_MESSAGE, 'issue') }}
43+ stale-issue-message : ${{ format( env.WARN_MESSAGE, 'issue') }}
4444 stale-pr-label : stale
4545 exempt-pr-labels : never-stale
46- close-pr-message : ${{ env.CLOSE_MESSAGE }}
47- stale-pr-message : ${{ env.WARN_MESSAGE }}
46+ close-pr-message : ${{ format( env.CLOSE_MESSAGE, 'pull request') }}
47+ stale-pr-message : ${{ format( env.WARN_MESSAGE, 'pull request') }}
4848 # max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
4949 operations-per-run : 500
5050 remove-stale-when-updated : true
0 commit comments