From 653052002914d635f23b3c8b1b3d0d01af62da0e Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Mon, 23 Oct 2023 09:31:35 +0200 Subject: [PATCH] run compat helper only on upstream repository (#30) 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 e4e8c0d..7cde703 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/QEDprocesses.jl' runs-on: ubuntu-latest steps: - name: Check if Julia is already available in the PATH