Create mark_stale_issue.yml
parent
d37209e552
commit
03ceab9744
|
@ -0,0 +1,31 @@
|
|||
# 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: '30 1 * * *'
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: none
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v8
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.'
|
||||
stale-issue-label: 'stale'
|
||||
close-issue-reason: 'The issue is stale and not response is provided after 7 days.'
|
||||
exempt-issue-labels: 'bug, feature request, good first issue'
|
||||
operations-per-run: 900
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
ascending: true
|
||||
|
Loading…
Reference in New Issue