brizental pushed to branch tor-browser-151.0a1-16.0-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • .gitlab/ci/mixins.yml
    ... ... @@ -52,8 +52,12 @@
    52 52
             return $fetch_exit
    
    53 53
           }
    
    54 54
     
    
    55
    -      fetch_with_timeout origin "merge-requests/${CI_MERGE_REQUEST_IID}/head" || exit 1
    
    55
    +      if ! fetch_with_timeout origin "${CI_COMMIT_BRANCH:-$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"; then
    
    56
    +        echo "Fetching failed for branch ${CI_COMMIT_BRANCH:-$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}."
    
    57
    +        echo "Attempting to fetch the merge request branch, assuming this pipeline is not running in a fork."
    
    56 58
     
    
    59
    +        fetch_with_timeout origin "merge-requests/${CI_MERGE_REQUEST_IID}/head" || exit 1
    
    60
    +      fi
    
    57 61
         - git checkout FETCH_HEAD
    
    58 62
     
    
    59 63
     .with-local-repo-pwsh: