Disable lock thread comment to reduce notification spam

This commit is contained in:
Veronica Berglyd Olsen
2025-05-15 00:33:05 +02:00
parent 6c20847cc9
commit ca17263640
+9 -9
View File
@@ -2,7 +2,7 @@ name: LockThreads
on: on:
schedule: schedule:
- cron: "0 1 * * *" - cron: "35 0 * * *"
permissions: permissions:
issues: write issues: write
@@ -19,16 +19,16 @@ jobs:
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
issue-inactive-days: 120 issue-inactive-days: 120
issue-comment: > # issue-comment: >
This issue has been automatically locked since there has not been # This issue has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue # any recent activity after it was closed. Please open a new issue
for related bugs or feature requests. # for related bugs or feature requests.
issue-lock-reason: "resolved" issue-lock-reason: "resolved"
pr-inactive-days: 120 pr-inactive-days: 120
pr-comment: > # pr-comment: >
This pull request thread has been automatically locked since there # This pull request thread has been automatically locked since there
has not been any recent activity after it was closed. Please open # has not been any recent activity after it was closed. Please open
an issue for any related bugs or feature requests. # an issue for any related bugs or feature requests.
pr-lock-reason: "resolved" pr-lock-reason: "resolved"
process-only: "issue, pr" process-only: "issue, pr"
log-output: true log-output: true