From 8dd59081d7b051b8a8c8ab93f03c842d338417b0 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 7 Oct 2025 22:58:49 +0200 Subject: [PATCH] github workflows lockthreads: only run on main repo We should disable the whole action instead of the job but I don't know how to do that. --- .github/workflows/lockthreads.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lockthreads.yml b/.github/workflows/lockthreads.yml index a97a5792b..2e0c1d4cb 100644 --- a/.github/workflows/lockthreads.yml +++ b/.github/workflows/lockthreads.yml @@ -12,6 +12,7 @@ permissions: jobs: lock: + if: github.repository_owner == 'fish-shell' permissions: issues: write # for dessant/lock-threads to lock issues pull-requests: write # for dessant/lock-threads to lock PRs