Skip to content

Commit 506fc6a

Browse files
committed
Update vars
Signed-off-by: Riddhesh Sanghvi <riddhesh237@gmail.com>
1 parent 2b83501 commit 506fc6a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

main.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ CMD+=( "--repo-owner=$GITHUB_REPOSITORY_OWNER" )
143143
# Set the --repo-name
144144
# Default: $GITHUB_REPOSITORY_NAME
145145
#######################################
146-
CMD+=( "--repo-name=$GITHUB_REPOSITORY_OWNER" )
146+
CMD+=( "--repo-name=$GITHUB_REPOSITORY_NAME" )
147147

148148
#######################################
149149
# Set the --commit
@@ -324,7 +324,7 @@ echo $( info_message "Command: $VIP_GO_CI_TOOLS_DIR/vip-go-ci/vip-go-ci.php ${CM
324324
PHPCS_CMD=( php "$VIP_GO_CI_TOOLS_DIR/vip-go-ci/vip-go-ci.php" "${CMD[@]}" )
325325

326326
if [[ "$ENABLE_STATUS_CHECKS" == "true" ]]; then
327-
php $VIP_GO_CI_TOOLS_DIR/vip-go-ci/github-commit-status.php --repo-owner="$repo_owner" --repo-name="$repo_name" --github-token="$token" --github-commit="$commit" --build-context='PHPCS Code Review by rtCamp' --build-description="PR review in progress" --build-state="pending"
327+
php $VIP_GO_CI_TOOLS_DIR/vip-go-ci/github-commit-status.php --repo-owner="$GITHUB_REPOSITORY_OWNER" --repo-name="$GITHUB_REPOSITORY_NAME" --github-token="$GH_BOT_TOKEN" --github-commit="$COMMIT_ID" --build-context='PHPCS Code Review by rtCamp' --build-description="PR review in progress" --build-state="pending"
328328

329329
"${PHPCS_CMD[@]}"
330330

@@ -362,7 +362,7 @@ if [[ "$ENABLE_STATUS_CHECKS" == "true" ]]; then
362362
esac
363363

364364

365-
php $VIP_GO_CI_TOOLS_DIR/vip-go-ci/github-commit-status.php --repo-owner="$repo_owner" --repo-name="$repo_name" --github-token="$token" --github-commit="$commit" --build-context='PHPCS Code Review by rtCamp' --build-description="$BUILD_DESCRIPTION" --build-state="$BUILD_STATE"
365+
php $VIP_GO_CI_TOOLS_DIR/vip-go-ci/github-commit-status.php --repo-owner="$GITHUB_REPOSITORY_OWNER" --repo-name="$GITHUB_REPOSITORY_NAME" --github-token="$GH_BOT_TOKEN" --github-commit="$commit" --build-context='PHPCS Code Review by rtCamp' --build-description="$BUILD_DESCRIPTION" --build-state="$BUILD_STATE"
366366
else
367367
"${PHPCS_CMD[@]}"
368368
fi

0 commit comments

Comments
 (0)