-
Notifications
You must be signed in to change notification settings - Fork 119
28 lines (26 loc) · 1.23 KB
/
stale.yml
File metadata and controls
28 lines (26 loc) · 1.23 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
name: "Close stale issues and PRs"
on:
schedule:
- cron: "30 17 * * *"
# Set minimum permissions to prevent unnecessary access
permissions: {}
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write # Need write permission to mark and close stale issues
pull-requests: write # Need write permission to mark and close stale PRs
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10
if: github.repository == 'lynx-family/lynx-stack'
with:
days-before-stale: 60
days-before-issue-close: -1
days-before-pr-close: -1
stale-issue-message: >
This issue has been automatically marked as stale because it has not had recent activity.
**If this issue is still affecting you, please leave any comment** (for example, "bump").
We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had recent activity.
**If this pull request is still relevant, please leave any comment** (for example, "bump").