Skip to content

Commit bbb32fa

Browse files
authored
Merge pull request #4516 from AutoMapper/lbargaoanu-patch-1
Changed lock-threads parameters
2 parents b521096 + 81a037e commit bbb32fa

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/lock.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: 'Lock threads'
33
on:
44
schedule:
55
- cron: '0 0 * * 0'
6+
workflow_dispatch:
67

78
permissions:
89
contents: read
@@ -12,18 +13,21 @@ jobs:
1213
permissions:
1314
issues: write # for dessant/lock-threads to lock issues
1415
pull-requests: write # for dessant/lock-threads to lock PRs
16+
discussions: write # for dessant/lock-threads to lock discussions
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: dessant/lock-threads@v5
1820
with:
19-
github-token: ${{ github.token }}
20-
issue-lock-inactive-days: 31
21-
pr-lock-inactive-days: 31
22-
issue-lock-comment: >
21+
issue-inactive-days: 31
22+
pr-inactive-days: 31
23+
discussion-inactive-days: 31
24+
issue-comment: >
2325
This issue has been automatically locked since there
2426
has not been any recent activity after it was closed.
2527
Please open a new issue for related bugs.
26-
pr-lock-comment: >
28+
pr-comment: >
2729
This pull request has been automatically locked since there
2830
has not been any recent activity after it was closed.
29-
Please open a new issue for related bugs.
31+
discussion-comment: >
32+
This discussion has been automatically locked since there
33+
has not been any recent activity after it was closed.

0 commit comments

Comments
 (0)