Delete stale issues workflow
This commit is contained in:
committed by
GitHub
parent
90dc16b81a
commit
e4d0993da4
@@ -1,31 +0,0 @@
|
||||
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
|
||||
#
|
||||
# You can adjust the behavior by modifying this file.
|
||||
# For more information, see:
|
||||
# https://github.com/actions/stale
|
||||
name: Mark stale issues and pull requests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '45 14 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: -1
|
||||
days-before-issue-stale: 30
|
||||
days-before-close: -1
|
||||
days-before-issue-close: 45
|
||||
stale-issue-message: 'The issue is tagged as "stale issue" due to no activity in 30 days. If there is no activity for 15 more days, the issue will be closed.'
|
||||
stale-issue-label: 'stale issue'
|
||||
close-issue-message: 'Closing this issue due to no activity in last 45 days'
|
||||
|
||||
Reference in New Issue
Block a user