Mark stale issues and pull requests #425
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
# 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: '0 0 * * *' # everyday at midnight UTC | |
workflow_dispatch: # manual trigger | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
days-before-pr-close: 7 | |
days-before-issue-close: -1 | |
include-only-assigned: true | |
stale-issue-message: 'This issue has been assigned for 60 days without visible progress, maybe it should be unassigned and returned to the todo column?' | |
stale-pr-message: 'This PR has had no activity for 60 days, it will be automatically closed in 7 days.' |