mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 05:17:02 +00:00
Bumps [actions/stale](https://github.com/actions/stale) from 10.4.0 to 11.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/1e223db275d687790206a7acac4d1a11bd6fe629...4391f3da665fdf50b6810c1a66712fb9ba21aa93) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 11.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
71 lines
2.7 KiB
YAML
71 lines
2.7 KiB
YAML
name: "Close stale issues and PRs"
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *" # Every day at midnight
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/stale.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
stale:
|
|
# Prevents triggering on forks or other repos
|
|
if: github.repository == 'containerd/containerd'
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
|
|
# All stale bot options: https://github.com/actions/stale#all-options
|
|
with:
|
|
# Issues: stale after 12 months, close after 2 weeks
|
|
days-before-issue-stale: 365
|
|
days-before-issue-close: 14
|
|
# PRs: stale after 6 months, close after 2 weeks
|
|
days-before-pr-stale: 180
|
|
days-before-pr-close: 14
|
|
|
|
stale-issue-label: "Stale"
|
|
stale-pr-label: "Stale"
|
|
|
|
# Exempt if assigned to a milestone
|
|
exempt-all-issue-milestones: true
|
|
exempt-all-pr-milestones: true
|
|
|
|
# Exempt labels
|
|
exempt-issue-labels: "priority/*, status/accepted, status/needs-major-release, status/roadmapped"
|
|
exempt-pr-labels: "priority/*, status/accepted, status/needs-major-release, status/roadmapped"
|
|
|
|
# How many items to process per run, default is 30, which is not
|
|
# enough to process the whole backlog. This number should strike the
|
|
# right balance: too high value might cause rate limits.
|
|
operations-per-run: 150
|
|
# Process the oldest items first.
|
|
ascending: true
|
|
|
|
# Messages
|
|
stale-issue-message: >
|
|
This issue has not been updated in 12 months and is now marked as stale.
|
|
It will be closed in 2 weeks unless there is new activity, a milestone
|
|
is assigned, or a maintainer adds a priority or status label.
|
|
close-issue-message: >
|
|
This issue was closed because it has been stale for 2 weeks with no activity.
|
|
Feel free to reopen or create a new issue if you would like to continue
|
|
working on it.
|
|
stale-pr-message: >
|
|
This PR has not been updated in 6 months and is now marked as stale.
|
|
It will be closed in 2 weeks unless there is new activity, a milestone
|
|
is assigned, or a maintainer adds a priority or status label.
|
|
close-pr-message: >
|
|
This PR was closed because it has been stale for 2 weeks with no activity.
|
|
Feel free to reopen or create a new PR if you would like to continue
|
|
working on it.
|
|
|
|
# Enable dry-run when changing this file from a PR.
|
|
debug-only: ${{ github.event_name == 'pull_request' }}
|