Commit 97dc552 1 parent a5d3d98 commit 97dc552 Copy full SHA for 97dc552
File tree 1 file changed +3
-17
lines changed
1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change 4
4
check :
5
5
runs-on : ubuntu-latest
6
6
steps :
7
- - uses : actions/checkout@v4
8
7
- 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 }}
You can’t perform that action at this time.
0 commit comments