Merge pull request #7929 from eed3si9n/bport/cla

[1.x] New Scala CLA URL
This commit is contained in:
eugene yokota 2024-12-05 22:53:52 -05:00 committed by GitHub
commit f996ad1a01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -10,15 +10,15 @@ jobs:
AUTHOR: ${{ github.event.pull_request.user.login }} AUTHOR: ${{ github.event.pull_request.user.login }}
run: | run: |
echo "Pull request submitted by $AUTHOR"; echo "Pull request submitted by $AUTHOR";
signed=$(curl -s "https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR" | jq -r ".signed"); signed=$(curl -s "https://contribute.akka.io/contribute/cla/scala/check/$AUTHOR" | jq -r ".signed");
if [ "$signed" = "true" ] ; then if [ "$signed" = "true" ] ; then
echo "CLA check for $AUTHOR successful"; echo "CLA check for $AUTHOR successful";
else else
echo "CLA check for $AUTHOR failed"; echo "CLA check for $AUTHOR failed";
echo "Please sign the Scala CLA to contribute to the Scala compiler."; echo "Please sign the Scala CLA to contribute to the Scala compiler.";
echo "Go to https://www.lightbend.com/contribute/cla/scala and then"; echo "Go to https://contribute.akka.io/contribute/cla/scala and then";
echo "comment on the pull request to ask for a new check."; echo "comment on the pull request to ask for a new check.";
echo ""; echo "";
echo "Check if CLA is signed: https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR"; echo "Check if CLA is signed: https://contribute.akka.io/contribute/cla/scala/check/$AUTHOR";
exit 1; exit 1;
fi; fi;