Skip to content

Commit 662060d

Browse files
authored
Merge pull request #12758 from griggt/fix-cla-check
Fix CLA check for first-time contributors
2 parents fdbb94f + e11e15a commit 662060d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/cla.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ jobs:
66
steps:
77
- uses: actions/checkout@v2
88
- run: ./project/scripts/check-cla.sh
9+
env:
10+
AUTHOR: ${{ github.event.pull_request.user.login }}

project/scripts/check-cla.sh

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22
set -eux
33

4-
AUTHOR=$GITHUB_ACTOR
54
echo "Pull request submitted by $AUTHOR";
65
signed=$(curl -s https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR | jq -r ".signed");
76
if [ "$signed" = "true" ] ; then

0 commit comments

Comments
 (0)