mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 05:35:43 +01:00
2532ffe5a8
Bumps [actions/stale](https://github.com/actions/stale) from 8.0.0 to 9.0.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v8.0.0...v9.0.0) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
1.5 KiB
YAML
27 lines
1.5 KiB
YAML
name: Housekeeping - Close stale issues and PRs
|
|
on:
|
|
schedule:
|
|
- cron: '0 9 * * *'
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v9.0.0
|
|
with:
|
|
stale-issue-message: 'This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.'
|
|
stale-pr-message: 'This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.'
|
|
close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.'
|
|
close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main.'
|
|
days-before-issue-stale: 60
|
|
days-before-pr-stale: 60
|
|
days-before-issue-close: 30
|
|
days-before-pr-close: 30
|
|
# Don't add stale label to PRs / issues with milestones "upcoming" attached.
|
|
exempt-milestones: "upcoming"
|
|
# Don't add stale label to PRs / issues with this label
|
|
exempt-issue-labels: 'never-stale, kind/requirement'
|
|
exempt-pr-labels: 'never-stale, kind/requirement'
|
|
# Make it 1000 to clean up a bit then wen can lower it
|
|
operations-per-run: 1000
|