diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 1547a0569f70..53800df7bb00 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -6,3 +6,5 @@ jobs: steps: - uses: actions/checkout@v2 - run: ./project/scripts/check-cla.sh + env: + AUTHOR: ${{ github.event.pull_request.user.login }} diff --git a/project/scripts/check-cla.sh b/project/scripts/check-cla.sh index 8538a27f4bd1..21efa74eb2eb 100755 --- a/project/scripts/check-cla.sh +++ b/project/scripts/check-cla.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash set -eux -AUTHOR=$GITHUB_ACTOR echo "Pull request submitted by $AUTHOR"; signed=$(curl -s https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR | jq -r ".signed"); if [ "$signed" = "true" ] ; then