Mark stale issues and pull requests #78
This file contains hidden or 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: '31 6 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'This issue had no replies for a lot of time. The issue may automaticlly close soon if it continues to have no activity, to prevent necroposting.' | |
stale-pr-message: 'This pull request had no replies for a lot of time. This pull request may automaticlly gdt rejected if it continues to have no activty to prevent necroposting.' | |
stale-issue-label: 'no-issue-activity' | |
stale-pr-label: 'no-pr-activity' |