From bd583a567286c87030f73048a652901aaf674373 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Thu, 30 Oct 2025 10:11:19 +0000 Subject: [PATCH 1/2] feat: add lock-threads workflow --- .github/workflows/lock-threads.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/lock-threads.yml diff --git a/.github/workflows/lock-threads.yml b/.github/workflows/lock-threads.yml new file mode 100644 index 0000000..44c85a8 --- /dev/null +++ b/.github/workflows/lock-threads.yml @@ -0,0 +1,29 @@ +name: Lock Threads + +# **What it does**: Automatically locks inactive issues and pull requests. +# **Why we have it**: Helps maintainers manage repository activity and reduce clutter. + +on: + workflow_call: + +jobs: + lock-threads: + name: Lock Threads + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: Lock inactive issues and prs + uses: jsumners/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6 # v3.0.0 + with: + issue-inactive-days: '90' + exclude-any-issue-labels: 'discussion,good first issue,help wanted' + issue-comment: > + This issue has been automatically locked since there + has not been any recent activity after it was closed. + Please open a new issue for related bugs. + pr-comment: > + This pull request has been automatically locked since there + has not been any recent activity after it was closed. + Please open a new issue for related bugs. \ No newline at end of file From 0e18467540f6861026a5b61cc05d3afc867d894b Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 31 Oct 2025 06:46:04 +0000 Subject: [PATCH 2/2] Update .github/workflows/lock-threads.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Frazer Smith --- .github/workflows/lock-threads.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lock-threads.yml b/.github/workflows/lock-threads.yml index 44c85a8..6671941 100644 --- a/.github/workflows/lock-threads.yml +++ b/.github/workflows/lock-threads.yml @@ -18,6 +18,7 @@ jobs: uses: jsumners/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6 # v3.0.0 with: issue-inactive-days: '90' + pr-inactive-days: '90' exclude-any-issue-labels: 'discussion,good first issue,help wanted' issue-comment: > This issue has been automatically locked since there