frp/.github/workflows/stale.yml

29 lines
1.1 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'
2020-09-25 14:40:01 +08:00
jobs:
stale:
runs-on: ubuntu-latest
steps:
2022-10-27 14:22:14 +08:00
- uses: actions/stale@v6
2020-09-25 14:40:01 +08:00
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
2021-08-04 10:51:18 +08:00
stale-issue-message: 'Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.'
2022-03-15 11:53:14 +08:00
stale-pr-message: "PRs go stale after 30d 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'
2021-08-04 10:51:18 +08:00
days-before-stale: 30
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