Skip to content

Commit 97dc552

Browse files
authored
Use new Scala CLA
1 parent a5d3d98 commit 97dc552

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/cla.yml

+3-17
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,7 @@ jobs:
44
check:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
87
- name: Check CLA
9-
env:
10-
AUTHOR: ${{ github.event.pull_request.user.login }}
11-
run: |
12-
echo "Pull request submitted by $AUTHOR";
13-
signed=$(curl -s "https://contribute.akka.io/contribute/cla/scala/check/$AUTHOR" | jq -r ".signed");
14-
if [ "$signed" = "true" ] ; then
15-
echo "CLA check for $AUTHOR successful";
16-
else
17-
echo "CLA check for $AUTHOR failed";
18-
echo "Please sign the Scala CLA to contribute to the Scala compiler.";
19-
echo "Go to https://contribute.akka.io/contribute/cla/scala and then";
20-
echo "comment on the pull request to ask for a new check.";
21-
echo "";
22-
echo "Check if CLA is signed: https://contribute.akka.io/contribute/cla/scala/check/$AUTHOR";
23-
exit 1;
24-
fi;
8+
uses: scala/cla-checker@v1
9+
with:
10+
author: ${{ github.event.pull_request.user.login }}

0 commit comments

Comments
 (0)