From d0a19a74014a608d689894e998ae1c59b6f6057f Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Tue, 21 Mar 2023 10:15:14 -0400 Subject: [PATCH] fix(action): Update user to not link to origin --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3d0703b036..59eac5aa9e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: run: | result=${{ steps.is_organization_member.outputs.result }} if [ $result == false ]; then - user=${{ github.event.pull_request.head.user.login }} + user=${{ github.actor }} echo Either ${user} is not part of the Canadian-Geospatial-Platform organization echo or ${user} has its Organization Visibility set to Private at echo https://github.com/orgs/Canadian-Geospatial-Platform/people?query=${user}