Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions stale bot: Use actions/stale@v9 bot with two merged PRs to fix caching when using the action multiple times #41403

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,36 @@ on:
- cron: '30 1 * * *'

permissions:
actions: write # for caching state
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: autoantwort/[email protected] # actions/stale@v9 with merged PR #1152 and #1169 to fix caching
with:
stale-issue-message: 'This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.'
any-of-labels: 'category:question,requires:repro,requires:more-information'
days-before-issue-stale: 28
days-before-pr-stale: -1
days-before-close: 14
- uses: actions/stale@v8
cache-prefix: no-activity
- uses: autoantwort/[email protected] # actions/stale@v9 with merged PR #1152 and #1169 to fix caching
with:
stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 60 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment."
any-of-labels: 'category:new-port'
close-issue-label: 'info:new-port-unresolved'
days-before-issue-stale: 60
days-before-pr-stale: -1
days-before-close: 14
- uses: actions/stale@v8
cache-prefix: new-port
- uses: autoantwort/[email protected] # actions/stale@v9 with merged PR #1152 and #1169 to fix caching
with:
stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment."
exempt-issue-labels: 'no-stale,category:new-port,category:question,requires:repro,requires:more-information'
days-before-issue-stale: 180
days-before-pr-stale: -1
days-before-close: 14
operations-per-run: 50
cache-prefix: stale-issues