Mark stale issues and pull requests #539
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: '27 6 * * *' | |
permissions: read-all | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
stale-issue-message: > | |
:warning: **This issue was automatically marked stale because it was | |
inactive for 60 days.** If this issue is still valid, please reply | |
to it or it will be closed in 7 days. | |
stale-pr-message: >- | |
:warning: **This pull request was automatically marked stale because | |
it was inactive for 60 days.** If this PR is still valid, please | |
reply to it or it will be closed in 7 days. | |
stale-issue-label: stale | |
stale-pr-label: stale | |
exempt-all-milestones: true | |
exempt-all-assignees: true | |
exempt-draft-pr: true |