mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 09:23:21 +01:00
Add stale bot to extension (#19759)
* add stale bot to extension * Update .github/workflows/stale-issues-pr.yml Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com> * change config * tweak msgs --------- Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
This commit is contained in:
parent
84c54b75ea
commit
8b2d4efd4a
28
.github/workflows/stale-issues-pr.yml
vendored
Normal file
28
.github/workflows/stale-issues-pr.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: 'Close stale issues and PRs'
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 12 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@72afbce2b0dbd1d903bb142cebe2d15dc307ae57
|
||||
with:
|
||||
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days. Thank you for your contributions.'
|
||||
stale-issue-label: 'stale'
|
||||
only-issue-labels: 'type-bug'
|
||||
exempt-issue-labels: 'type-security, type-pinned, feature-request, awaiting-metamask'
|
||||
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.'
|
||||
stale-pr-label: 'stale'
|
||||
exempt-pr-labels: 'work-in-progress'
|
||||
close-issue-message: 'This issue was closed because there has been no follow up activity in the last 7 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.'
|
||||
close-pr-message: 'This PR was closed because there has been no follow up activity in the last 7 days. Thank you for your contributions.'
|
||||
days-before-issue-stale: 90
|
||||
days-before-pr-stale: 60
|
||||
days-before-issue-close: 45
|
||||
days-before-pr-close: 14
|
||||
operations-per-run: 1
|
Loading…
Reference in New Issue
Block a user