Skip to content

Commit 78ce868

Browse files
authored
Remove dummy credentials for GitHub API in checkCLA
1 parent 5110e2b commit 78ce868

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/checkCLA.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
66
echo "Incoming pull request from https://github.com/$TRAVIS_REPO_SLUG/pull/$TRAVIS_PULL_REQUEST";
7-
author=$(curl -u dummy4dummy:dummy2dummy -s "https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST" | jq -r ".user.login");
7+
author=$(curl -s "https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST" | jq -r ".user.login");
88
if [ $? -ne 0 ] ; then exit 1; fi;
99
echo "Pull request submitted by $author";
1010
signed=$(curl -s https://www.lightbend.com/contribute/cla/scala/check/$author | jq -r ".signed");
@@ -17,4 +17,4 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
1717
echo "Go to https://www.lightbend.com/contribute/cla/scala and then resubmit this pull request";
1818
exit 1;
1919
fi;
20-
fi;
20+
fi;

0 commit comments

Comments
 (0)