From 82aa2653e2cbf6c36a2654f7cdc8226611c066cb Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Thu, 2 Nov 2023 14:20:38 +0100 Subject: [PATCH] run compat helper only on upstream repository (#41) This if-condition avoids, that the compat helper is executed in forks. copy of: https://github.com/QEDjl-project/QEDfields.jl/pull/19 --- .github/workflows/CompatHelper.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index a9fbc39..2aa8a58 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -8,6 +8,7 @@ permissions: pull-requests: write jobs: CompatHelper: + if: github.repository == 'QEDjl-project/QEDbase.jl' runs-on: ubuntu-latest steps: - name: Check if Julia is already available in the PATH