Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • .gitlab/ci.sh
    ... ... @@ -493,6 +493,11 @@ function fetch_perf_notes() {
    493 493
     }
    
    494 494
     
    
    495 495
     function push_perf_notes() {
    
    496
    +  if [[ "${CI_COMMIT_BRANCH:-}" != "master" ]] && [[ ! "${CI_COMMIT_BRANCH:-}" =~ ghc-[0-9]+\.[0-9]+ ]]; then
    
    497
    +    info "Perf notes are only pushed on master/release branches"
    
    498
    +    return
    
    499
    +  fi
    
    500
    +
    
    496 501
       if [[ -z "${TEST_ENV:-}" ]]; then
    
    497 502
         return
    
    498 503
       fi