EverythingPowerToys/.github/workflows/stale.yml
Lin Yu-Chieh (Victor) e5fc032558
reduce stale checker frequency
run once a week
2022-11-05 16:13:15 +08:00

37 lines
945 B
YAML

# 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
permissions:
issues: write
pull-requests: write
on:
schedule:
- cron: '16 16 * * 0'
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: 'Stale: no activity'
stale-pr-message: 'Stale: no activity'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
days-before-issue-stale: 7
days-before-close: 7
close-issue-message: 'Close: no response'
exempt-issue-labels: todo, help wanted
exempt-pr-labels: todo, help wanted