From 43b4834dd04c8643c375ec6d5418925d1eedc478 Mon Sep 17 00:00:00 2001 From: Johannes Tuerk <72355192+JoTiTu@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:08:35 +0100 Subject: [PATCH] fix accessing env variable (#37) * fix accessing env variable Signed-off-by: Johannes Tuerk --------- Signed-off-by: Johannes Tuerk --- .github/workflows/publish-nuget.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-nuget.yaml b/.github/workflows/publish-nuget.yaml index 0d3c7b00..94b32f29 100644 --- a/.github/workflows/publish-nuget.yaml +++ b/.github/workflows/publish-nuget.yaml @@ -17,7 +17,7 @@ env: jobs: authorize: environment: - ${{ IS_PULL_REQUEST && + ${{ env.IS_PULL_REQUEST && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }} runs-on: ubuntu-latest