mirror of
https://github.com/lin-ycv/EverythingPowerToys.git
synced 2025-01-08 11:57:59 +08:00
e5fc032558
run once a week
37 lines
945 B
YAML
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
|