Update stable messages and days-before. (#221)

Signed-off-by: xuezhaojun <zxue@redhat.com>
This commit is contained in:
xuezhaojun
2023-07-14 11:23:09 +08:00
committed by GitHub
parent f7cd1402e9
commit 817aa624bd

View File

@@ -3,8 +3,8 @@ on:
schedule:
- cron: '30 1 * * *' # Runs at 1:30am every day
# `stable` label will be added to issues and PRs that have been inactive for 60 days
# Close stale issues and PRs after 7 days of inactivity
# `stable` label will be added to issues and PRs that have been inactive for 120 days
# Close stale issues and PRs after 14 days of inactivity
jobs:
stale:
runs-on: ubuntu-latest
@@ -12,5 +12,7 @@ jobs:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale'
stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'
stale-issue-message: 'This issue is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the `stable` label to prevent this issue from being closed.'
stale-pr-message: 'This pull request is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the `stable` label to prevent this issue from being closed.'
days-before-stale: 120
days-before-close: 14