From cc243fe154ad196b12af6d739b2f1e313b5a4cfe Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Tue, 23 Dec 2025 01:03:01 +0800 Subject: [PATCH] Fix lock-threads (#18517) --- .github/workflows/autofix.yml | 1 - .github/workflows/lock.yml | 8 +++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 547468f20..de82608b3 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -13,6 +13,5 @@ jobs: fix: name: Run automated fix uses: prettier/shared-workflows/.github/workflows/automated-fix.yml@main - permissions: {} with: repository: prettier/prettier diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 4639948f3..05cc771ba 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -1,6 +1,7 @@ name: "Lock" on: + workflow_dispatch: schedule: # “At 00:00.” https://crontab.guru/#0_0_*_*_* - cron: "0 0 * * *" @@ -16,10 +17,11 @@ jobs: - uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0 with: # https://github.com/dessant/lock-threads - github-token: ${{ github.token }} + process-only: "issues" + # github-token: ${{ github.token }} issue-inactive-days: "90" - exclude-issue-created-before: "" + # exclude-issue-created-before: "" exclude-any-issue-labels: "keep-unlocked, status:awaiting response" add-issue-labels: "locked-due-to-inactivity" - issue-comment: "" + # issue-comment: "" issue-lock-reason: "resolved"