ci(workflows): update stale actions parameters

This commit is contained in:
zoomchan-cxj
2022-07-25 13:12:25 +08:00
parent c267f9eaf5
commit dab9bc2d96
@@ -1,25 +1,26 @@
name: '[gh] mark and close stale issues and PRs'
on:
workflow_dispatch:
schedule:
# Run every day at 7:00 AM UTC.
- cron: '0 7 * * *'
env:
CLOSE_PR_MESSAGE: |
🤖: Sorry, closing this PR because it has stalled for over 4 months.
Feel free to reopen if this PR is still relevant, or to ping the collaborator if you have any questions.
🤖: "Sorry, closing this PR because it has stalled for over 4 months.
Feel free to reopen if this PR is still relevant, or to ping the collaborator if you have any questions."
CLOSE_ISSUE_MESSAGE: |
🤖: Sorry, closing this issue because it has stalled for over 3 months.
Feel free to reopen if this issue is still relevant, or to ping the collaborator if you have any questions.
🤖: "Sorry, closing this issue because it has stalled for over 3 months.
Feel free to reopen if this issue is still relevant, or to ping the collaborator if you have any questions."
STALE_PR_MESSAGE: |
🤖: Pay attention 🛎️ !!
🤖: "Pay attention 🛎️ !!
There has been no activity on this PR for 2 months, so I will label it stalled.
It will be automatically closed in 30 days if no more activity. Feel free to leave a comment if you have any questions.
It will be automatically closed in 30 days if no more activity. Feel free to leave a comment if you have any questions."
STALE_ISSUE_MESSAGE: |
🤖: Pay attention 🛎️ !!
🤖: "Pay attention 🛎️ !!
There has been no activity on this issue for 2 months, so I will label it stalled.
It will be automatically closed in 60 days if no more activity. Feel free to leave a comment if you have any questions.
It will be automatically closed in 60 days if no more activity. Feel free to leave a comment if you have any questions."
jobs:
stale:
@@ -45,5 +46,5 @@ jobs:
close-issue-message: ${{ env.CLOSE_ISSUE_MESSAGE }}
stale-issue-label: stale
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
operations-per-run: 50
operations-per-run: 500
remove-stale-when-updated: true