You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/lock.yml
+12-11
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,17 @@ on:
8
8
jobs:
9
9
lock:
10
10
runs-on: ubuntu-latest
11
+
permissions:
12
+
issues: write
13
+
pull-requests: write
11
14
steps:
12
-
- uses: dessant/lock-threads@v2
15
+
- uses: actions/stale@v5
13
16
with:
14
-
github-token: ${{ github.token }}
15
-
issue-lock-inactive-days: '30'
16
-
issue-exclude-created-before: ''
17
-
issue-exclude-labels: ''
18
-
issue-lock-labels: ''
19
-
issue-lock-comment: >
20
-
This thread has been automatically locked since there has not been
21
-
any recent activity after it was closed. Please open a new issue for
22
-
related bugs.
23
-
issue-lock-reason: 'resolved'
17
+
days-before-issue-stale: 30
18
+
days-before-issue-close: 14
19
+
stale-issue-label: "stale"
20
+
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
21
+
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale. Please open a new issue for related bugs."
0 commit comments