mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: use stale action (#12192)
This commit is contained in:
parent
08bc8542ea
commit
86fbbe84e1
22
.github/stale.yml
vendored
22
.github/stale.yml
vendored
@ -1,22 +0,0 @@
|
|||||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
|
||||||
closeComment: >
|
|
||||||
We are closing this issue. If the issue still persists in the latest version of
|
|
||||||
Puppeteer, please reopen the issue and update the description. We will try our
|
|
||||||
best to accommodate it!
|
|
||||||
# Number of days of inactivity before an issue becomes stale
|
|
||||||
daysUntilStale: 60
|
|
||||||
# Number of days of inactivity before a stale issue is closed
|
|
||||||
daysUntilClose: 30
|
|
||||||
# Issues with these labels will never be considered stale
|
|
||||||
exemptLabels:
|
|
||||||
- confirmed
|
|
||||||
- feature
|
|
||||||
# Comment to post when marking an issue as stale.
|
|
||||||
markComment: >
|
|
||||||
We're marking this issue as unconfirmed because it has not had recent activity and
|
|
||||||
we weren't able to confirm it yet. It will be closed if no further activity occurs
|
|
||||||
within the next 30 days.
|
|
||||||
# Only mark issues.
|
|
||||||
only: issues
|
|
||||||
# Label to use when marking an issue as stale
|
|
||||||
staleLabel: unconfirmed
|
|
31
.github/workflows/stale.yml
vendored
Normal file
31
.github/workflows/stale.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: 'Close stale issues and PRs'
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '30 1 * * *'
|
||||||
|
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:
|
||||||
|
# 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 it yet. It will be closed if no further activity occurs
|
||||||
|
within the next 30 days.
|
||||||
|
close-issue-message: >
|
||||||
|
We are closing this issue. If the issue still persists in the latest version of
|
||||||
|
Puppeteer, please reopen the issue and update the description. We will try our
|
||||||
|
best to accommodate it!
|
||||||
|
stale-issue-label: 'unconfirmed'
|
||||||
|
exempt-issue-labels: 'confirmed,feature'
|
||||||
|
# PR settings
|
||||||
|
days-before-pr-close: -1
|
Loading…
Reference in New Issue
Block a user