blossom/.github/workflows/stale.yml

29 lines
814 B
YAML
Raw Normal View History

2024-01-06 23:34:33 +08:00
name: "Close inactive issues"
on:
schedule:
2024-01-07 01:29:37 +08:00
- cron: "10 15 * * *"
2024-01-06 23:34:33 +08:00
permissions:
issues: write
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
2024-01-07 01:24:55 +08:00
debug-only: false
2024-01-06 23:34:33 +08:00
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 30
days-before-issue-close: 7
stale-issue-label: "stale"
stale-issue-message: "This issue has been open 30 days with no activity. This will be closed in 7 days."
close-issue-message: "This issue has been automatically marked as stale because it hasn't had any recent activity."
days-before-pr-stale: -1
days-before-pr-close: -1
exempt-issue-labels: bug,enhancement