forked from fluent/fluentd
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 1.32 KB
/
stale-actions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: "Mark or close stale issues and PRs"
on:
schedule:
- cron: "00 10 * * *"
permissions: read-all
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 7
stale-issue-message: "This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 7 days"
stale-pr-message: "This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 7 days"
close-issue-message: "This issue was automatically closed because of stale in 7 days"
close-pr-message: "This PR was automatically closed because of stale in 7 days"
stale-pr-label: "stale"
stale-issue-label: "stale"
exempt-issue-labels: "waiting-for-triage,bug,enhancement,feature request,pending,work-in-progress,v1,v2"
exempt-pr-labels: "waiting-for-triage,bug,enhancement,feature request,pending,work-in-progress,v1,v2"
exempt-all-assignees: true
exempt-all-milestones: true