chore(deps): bump actions/stale from 7 to 8 Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8. - [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/v7...v8) --- 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>
38 lines
1.5 KiB
YAML
38 lines
1.5 KiB
YAML
## Reference: https://github.com/actions/stale
|
|
name: Mark stale issues and pull requests
|
|
on:
|
|
schedule:
|
|
- cron: "30 1 * * *"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
stale:
|
|
permissions:
|
|
issues: write # for actions/stale to close stale issues
|
|
pull-requests: write # for actions/stale to close stale PRs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v8
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
# Number of days of inactivity before an issue becomes stale
|
|
days-before-stale: 60
|
|
# Number of days of inactivity before a stale issue is closed
|
|
days-before-close: 7
|
|
# Issues with these labels will never be considered stale
|
|
exempt-issue-labels: "on-hold,pinned,security"
|
|
exempt-pr-labels: "on-hold,pinned,security"
|
|
# Comment to post when marking an issue as stale.
|
|
stale-issue-message: >
|
|
This issue has been automatically marked as stale because it has not had
|
|
recent activity. It will be closed if no further activity occurs. Thank you
|
|
for your contributions.
|
|
stale-pr-message: >
|
|
This pull request has been automatically marked as stale because it has not had
|
|
recent activity. It will be closed if no further activity occurs. Thank you
|
|
for your contributions.
|
|
# Label to use when marking an issue as stale
|
|
stale-issue-label: 'no-issue-activity'
|
|
stale-pr-label: 'no-pr-activity'
|