forked from redhat-developer/rhdh-plugin-export-overlays
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 1.11 KB
/
Copy pathstale.yaml
File metadata and controls
30 lines (26 loc) · 1.11 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
30
name: Label stale PRs and issues
on:
schedule:
- cron: "30 1 * * *" # Runs daily at 1:30 AM UTC
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 30
days-before-issue-close: -1 # never automatically close stale issues
stale-issue-label: "stale"
stale-issue-message: "This issue has been automatically marked as stale due to inactivity."
exempt-issue-labels: "stale"
# close-issue-message: 'Closing this issue due to prolonged inactivity.'
days-before-pr-stale: 30
days-before-pr-close: -1 # never automatically close stale PRs
stale-pr-label: "stale"
stale-pr-message: "This pull request has been automatically marked as stale due to inactivity."
# close-pr-message: 'Closing this pull request due to prolonged inactivity.'
exempt-pr-labels: "stale,help wanted to test"