Skip to content

Commit

Permalink
fixup! ci: add opam-rt branch lookup for the form of username/branchname
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Nov 27, 2024
1 parent a99d8b5 commit 279c276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/main/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ if [ "$OPAM_TEST" = "1" ]; then
fi
cd $CACHE/opam-rt
git fetch origin
if [ "$GITHUB_EVENT_NAME" = "pull_request" ] && git ls-remote --exit-code origin $GITHUB_PR_USER/$BRANCH ; then
if [ "$GITHUB_EVENT_NAME" = "pull_request" ] && git ls-remote --exit-code origin "$GITHUB_PR_USER/$BRANCH" ; then
BRANCH=$GITHUB_PR_USER/$BRANCH
fi
if git ls-remote --exit-code origin $BRANCH ; then
Expand Down

0 comments on commit 279c276

Please sign in to comment.