Skip to content

Commit

Permalink
ci: fix sonar branch for external PR (#1952)
Browse files Browse the repository at this point in the history
ci: fix sonar branch for external PR
  • Loading branch information
asbiin committed Oct 25, 2018
1 parent 2299b2b commit cca8011
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tests/runsonar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ elif [ "$PR_NUMBER" != "false" ] && [ -n "${SONAR_TOKEN:-}" ] && [ -n "${GITHUB_
echo '== SONAR:Analyze external pull request =='
echo '========================================='
echo "== External repository: $PULL_REQUEST_REPOSITORY"
PULL_REQUEST_BRANCH="$PULL_REQUEST_USER:$PULL_REQUEST_HEADBRANCH"
PULL_REQUEST_BRANCH="${PULL_REQUEST_USER}__$PULL_REQUEST_HEADBRANCH"
fi
echo "PULL_REQUEST_BRANCH=$PULL_REQUEST_BRANCH"
echo "PULL_REQUEST_REPOSITORY=$PULL_REQUEST_REPOSITORY"
Expand Down
Binary file modified scripts/tests/runsonar.sh.sig
Binary file not shown.

0 comments on commit cca8011

Please sign in to comment.