Adjust CREW_REPO logic

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik
2024-11-06 12:33:29 -05:00
committed by Satadru Pramanik, DO, MPH, MEng
parent 9b9aa5f743
commit b24c2c7837

View File

@@ -141,8 +141,8 @@ jobs:
run: |
case $GITHUB_EVENT in
merge_group)
export CREW_REPO="https://github.com/${{ github.actor }}/chromebrew.git"
export CREW_BRANCH="mergegroup"
export CREW_REPO="${{ github.event.repository.clone_url }}"
export CREW_BRANCH="${{ github.ref_name }}"
;;
pull_request)
export CREW_REPO="${{ github.event.pull_request.head.repo.clone_url }}"