File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 2
2
set -eux
3
3
4
4
echo " Pull request submitted by $AUTHOR " ;
5
- signed=$( curl -s https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR | jq -r " .signed" ) ;
6
- if [ " $signed " = " true" ] ; then
5
+ if [ " $AUTHOR " = " github-actions[bot]" ] ; then
7
6
echo " CLA check for $AUTHOR successful" ;
8
7
else
9
- echo " CLA check for $AUTHOR failed" ;
10
- echo " Please sign the Scala CLA to contribute to the Scala compiler." ;
11
- echo " Go to https://www.lightbend.com/contribute/cla/scala and then" ;
12
- echo " comment on the pull request to ask for a new check." ;
13
- echo " " ;
14
- echo " Check if CLA is signed: https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR " ;
15
- exit 1;
8
+ signed=$( curl -s " https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR " | jq -r " .signed" ) ;
9
+ if [ " $signed " = " true" ] ; then
10
+ echo " CLA check for $AUTHOR successful" ;
11
+ else
12
+ echo " CLA check for $AUTHOR failed" ;
13
+ echo " Please sign the Scala CLA to contribute to the Scala compiler." ;
14
+ echo " Go to https://www.lightbend.com/contribute/cla/scala and then" ;
15
+ echo " comment on the pull request to ask for a new check." ;
16
+ echo " " ;
17
+ echo " Check if CLA is signed: https://www.lightbend.com/contribute/cla/scala/check/$AUTHOR " ;
18
+ exit 1;
19
+ fi ;
16
20
fi ;
You can’t perform that action at this time.
0 commit comments