Skip to content

Commit

Permalink
Merge pull request #395 from Friendseeker/patch-1
Browse files Browse the repository at this point in the history
Use new Scala CLA
  • Loading branch information
eed3si9n authored Dec 18, 2024
2 parents 310fdbe + 982363e commit 3808a7a
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check CLA
env:
AUTHOR: ${{ github.event.pull_request.user.login }}
run: |
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
echo "CLA check for $AUTHOR successful";
else
echo "CLA check for $AUTHOR failed";
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 "comment on the pull request to ask for a new check.";
echo "";
echo "Check if CLA is signed: https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR";
exit 1;
fi;
uses: scala/cla-checker@v1
with:
author: ${{ github.event.pull_request.user.login }}

0 comments on commit 3808a7a

Please sign in to comment.