Commit 3ed32ed8 authored by henry's avatar henry Committed by morgan
Browse files

fixup! Add CI for Tor Browser

Bug 43373: Only run translation and container CI for push events.
parent 3fb9e5af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ build-base-image:
      echo -e "\e[33mPushing new image to registry as ${TAG}\e[0m"
      podman push ${TAG}
  rules:
    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PROJECT_NAMESPACE == 'tpo/applications')
    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PROJECT_NAMESPACE == 'tpo/applications' && $CI_PIPELINE_SOURCE == 'push')
      changes:
          - '.gitlab/ci/containers/base/Containerfile'
          - '.gitlab-ci.yml'
+1 −1
Original line number Diff line number Diff line
.update-translation-base:
  stage: update-translations
  rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
    - if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push")
      changes:
        - "**/*.ftl"
        - "**/*.properties"