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}