Close stale issues and PRs #1369
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Close stale issues and PRs' | |
on: | |
schedule: | |
# The action processes up to 30 issues at once, so we need to run more frequently. | |
- cron: '*/60 * * * *' | |
workflow_dispatch: | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
days-before-close: 7 | |
days-before-stale: 14 | |
# Issue settings | |
stale-issue-message: > | |
We're marking this issue as unconfirmed because it has not | |
had recent activity and we weren't able to confirm or | |
reproduce it. The issue will be closed if no further | |
activity occurs within the next 7 days. | |
cc @puppeteer/bug-triage | |
close-issue-message: > | |
We are closing this unconfirmed issue. If the issue still | |
persists in the latest version of Puppeteer, please file a | |
new issue and include a minimal reproducible example or | |
other details that would allow us to reproduce it. | |
stale-issue-label: 'unconfirmed' | |
exempt-issue-labels: 'confirmed,feature' | |
# PR settings | |
days-before-pr-close: -1 |