forked from KaotoIO/kaoto
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 1.35 KB
/
Copy pathwatcher.yml
File metadata and controls
29 lines (28 loc) · 1.35 KB
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: Close inactive issues and PRs
on:
schedule:
- cron: "30 12 * * *"
workflow_dispatch:
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v10
with:
operations-per-run: 500 # increase from default
stale-issue-label: "stale"
exempt-issue-labels: "never-stale"
days-before-issue-stale: 90
stale-issue-message: "This issue is stale because it has been open for 90 days with no activity. It will be closed if there is no activity in the next 30 days."
days-before-issue-close: 30
close-issue-message: "This issue was closed because it has been inactive for 30 days since being marked as stale. Please reopen it if you think this was a mistake."
stale-pr-label: "stale"
exempt-pr-labels: "never-stale"
days-before-pr-stale: 14
stale-pr-message: "This pull request is stale because it has been open for 14 days with no activity. It will be closed if there is no activity in the next 14 days."
days-before-pr-close: 14
close-pr-message: "This pull request was closed because it has been inactive for 14 days since being marked as stale. Please reopen it if you think this was a mistake."
repo-token: ${{ secrets.GITHUB_TOKEN }}