mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
Update stable messages and days-before. (#221)
Signed-off-by: xuezhaojun <zxue@redhat.com>
This commit is contained in:
10
.github/workflows/stable.yaml
vendored
10
.github/workflows/stable.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user