frp/.github/workflows/stale.yml

36 lines
1.3 KiB
YAML
Raw Normal View History

2020-09-25 14:40:01 +08:00
name: "Close stale issues"
on:
schedule:
2020-09-25 15:00:41 +08:00
- cron: "20 0 * * *"
workflow_dispatch:
inputs:
debug-only:
description: 'In debug mod'
required: false
default: 'false'
permissions:
contents: read
2020-09-25 14:40:01 +08:00
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
2024-01-25 14:22:15 +08:00
actions: write
2020-09-25 14:40:01 +08:00
runs-on: ubuntu-latest
steps:
2024-01-25 11:38:19 +08:00
- uses: actions/stale@v9
2020-09-25 14:40:01 +08:00
with:
2024-01-25 11:38:19 +08:00
stale-issue-message: 'Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.'
stale-pr-message: "PRs go stale after 21d of inactivity. Stale PRs rot after an additional 7d of inactivity and eventually close."
2020-09-25 15:00:41 +08:00
stale-issue-label: 'lifecycle/stale'
2020-09-25 15:15:29 +08:00
exempt-issue-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
2020-09-25 15:00:41 +08:00
stale-pr-label: 'lifecycle/stale'
2020-09-25 15:15:29 +08:00
exempt-pr-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
2024-01-25 11:38:19 +08:00
days-before-stale: 21
2021-08-04 10:51:18 +08:00
days-before-close: 7
2020-09-25 15:00:41 +08:00
debug-only: ${{ github.event.inputs.debug-only }}
2022-03-15 11:53:14 +08:00
exempt-all-pr-milestones: true
exempt-all-pr-assignees: true
operations-per-run: 200