From 5a13172b46517ea49f0e7b5f35a41b8aab1754ab Mon Sep 17 00:00:00 2001 From: Hampus Date: Mon, 17 Aug 2026 12:06:24 +0200 Subject: [PATCH] ci: stop fork clones running repository-scoped workflows (#1693) --- .github/workflows/dispatch-dart-sdk-regeneration.yaml | 1 + .github/workflows/dispatch-private-marketing-build.yaml | 1 + .github/workflows/labeller.yaml | 1 + .github/workflows/lock-closed-conversations.yaml | 4 ++-- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dispatch-dart-sdk-regeneration.yaml b/.github/workflows/dispatch-dart-sdk-regeneration.yaml index 420dca664..7f6b54815 100644 --- a/.github/workflows/dispatch-dart-sdk-regeneration.yaml +++ b/.github/workflows/dispatch-dart-sdk-regeneration.yaml @@ -17,6 +17,7 @@ concurrency: jobs: dispatch: name: Dispatch regeneration + if: github.repository == 'fluxerapp/fluxer' runs-on: ubuntu-latest steps: - name: Create token diff --git a/.github/workflows/dispatch-private-marketing-build.yaml b/.github/workflows/dispatch-private-marketing-build.yaml index b4d3cfa46..0d543da38 100644 --- a/.github/workflows/dispatch-private-marketing-build.yaml +++ b/.github/workflows/dispatch-private-marketing-build.yaml @@ -31,6 +31,7 @@ concurrency: jobs: metadata: name: resolve exact private build metadata + if: github.repository == 'fluxerapp/fluxer' runs-on: ubuntu-24.04 timeout-minutes: 5 outputs: diff --git a/.github/workflows/labeller.yaml b/.github/workflows/labeller.yaml index 18cc6dfb5..a1422bc98 100644 --- a/.github/workflows/labeller.yaml +++ b/.github/workflows/labeller.yaml @@ -5,6 +5,7 @@ permissions: {} jobs: label: name: Label + if: github.repository == 'fluxerapp/fluxer' runs-on: ubuntu-latest steps: - name: Create token diff --git a/.github/workflows/lock-closed-conversations.yaml b/.github/workflows/lock-closed-conversations.yaml index b69310545..5744753a7 100644 --- a/.github/workflows/lock-closed-conversations.yaml +++ b/.github/workflows/lock-closed-conversations.yaml @@ -41,7 +41,7 @@ concurrency: jobs: automatic: name: Lock closed conversation - if: github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' + if: github.repository == 'fluxerapp/fluxer' && github.event_name != 'workflow_dispatch' && github.event_name != 'schedule' runs-on: ubuntu-latest steps: - name: Create token @@ -155,7 +155,7 @@ jobs: retroactive: name: Lock closed conversations retroactively - if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' + if: github.repository == 'fluxerapp/fluxer' && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') runs-on: ubuntu-latest steps: - name: Create token