google.cloud/.github/workflows/stale.yaml
Chris Hawk 0e85872dc1
Enable the stale issue workflow
Seems to be working now. For instance, #669 "should not be stale based on the last update date the 22-02-2025" and #664 "should be stale based on the last update date the 13-12-2024"
2025-08-20 16:59:38 -07:00

34 lines
1.5 KiB
YAML

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '0 6 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
days-before-stale: 180
days-before-close: 14
stale-issue-label: 'stale'
stale-pr-label: 'stale'
stale-issue-message: |
I'm marking this issue as stale due to inactivity (_180 days_ without response ⏳ ). If there is no activity on it in the next 14 days it will be closed automatically.
This helps our maintainers find and focus on active issues.
stale-pr-message: |
I'm marking this pull request as stale due to inactivity (_180 days_ without response ⏳ ). If there is no activity on it in the next 14 days it will be closed automatically.
This helps our maintainers find and focus on active contributions.
close-issue-message: |
I'm going to close this issue due to inactivity.
If this issue was automatically closed and you feel this issue should be reopened, please do so with any new available information. Thank you!
close-pr-message: |
I'm going to close this pull request due to inactivity.
If this pull request was automatically closed and you feel this pull request should be reopened, we encourage creating a new pull request linking back to this one for added context. Thank you!