-
-
Notifications
You must be signed in to change notification settings - Fork 83
44 lines (40 loc) · 1.44 KB
/
Copy pathstale.yml
File metadata and controls
44 lines (40 loc) · 1.44 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: "27 6 * * *"
permissions:
actions: read
contents: read # only for delete-branch option
issues: read
pull-requests: read
jobs:
stale:
name: Mark stale issues and pull requests
runs-on: ubuntu-latest
permissions:
actions: write
contents: write # only for delete-branch option
issues: write
pull-requests: write
steps:
- name: "Running stale issues and pull requests"
uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899
with:
stale-issue-message: >
:warning: **This issue was automatically marked stale because it was
inactive for 60 days.** If this issue is still valid, please reply
to it or it will be closed in 7 days.
stale-pr-message: >-
:warning: **This pull request was automatically marked stale because
it was inactive for 60 days.** If this PR is still valid, please
reply to it or it will be closed in 7 days.
stale-issue-label: stale
stale-pr-label: stale
exempt-all-milestones: true
exempt-all-assignees: true
exempt-draft-pr: true