morgan pushed to branch tor-browser-128.5.0esr-14.5-1 at The Tor Project / Applications / Tor Browser

Commits:

3 changed files:

Changes:

  • .gitlab/ci/jobs/lint/lint.yml
    ... ... @@ -44,7 +44,7 @@ eslint:
    44 44
             - 'tools/lint/eslint/eslint-plugin-mozilla/**'
    
    45 45
             - 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
    
    46 46
         # Run job whenever a commit is merged to a protected branch
    
    47
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    47
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    48 48
     
    
    49 49
     stylelint:
    
    50 50
       extends: .base
    
    ... ... @@ -62,7 +62,7 @@ stylelint:
    62 62
             - '**/.stylelintignore'
    
    63 63
             - '**/*stylelintrc*'
    
    64 64
         # Run job whenever a commit is merged to a protected branch
    
    65
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    65
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    66 66
     
    
    67 67
     py-black:
    
    68 68
       extends: .base
    
    ... ... @@ -81,7 +81,7 @@ py-black:
    81 81
             - 'pyproject.toml'
    
    82 82
             - 'tools/lint/black.yml'
    
    83 83
         # Run job whenever a commit is merged to a protected branch
    
    84
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    84
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    85 85
     
    
    86 86
     py-ruff:
    
    87 87
       extends: .base
    
    ... ... @@ -100,7 +100,7 @@ py-ruff:
    100 100
             - 'tools/lint/python/ruff.py'
    
    101 101
             - 'tools/lint/python/ruff_requirements.txt'
    
    102 102
         # Run job whenever a commit is merged to a protected branch
    
    103
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    103
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    104 104
     
    
    105 105
     yaml:
    
    106 106
       extends: .base
    
    ... ... @@ -115,7 +115,7 @@ yaml:
    115 115
             - '**/*.yaml'
    
    116 116
             - '**/.ymllint'
    
    117 117
         # Run job whenever a commit is merged to a protected branch
    
    118
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    118
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    119 119
     
    
    120 120
     shellcheck:
    
    121 121
       extends: .base
    
    ... ... @@ -129,7 +129,7 @@ shellcheck:
    129 129
             - '**/*.sh'
    
    130 130
             - 'tools/lint/shellcheck.yml'
    
    131 131
         # Run job whenever a commit is merged to a protected branch
    
    132
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    132
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    133 133
     
    
    134 134
     clang-format:
    
    135 135
       extends: .base
    
    ... ... @@ -149,7 +149,7 @@ clang-format:
    149 149
             - '**/*.mm'
    
    150 150
             - 'tools/lint/clang-format.yml'
    
    151 151
         # Run job whenever a commit is merged to a protected branch
    
    152
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    152
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    153 153
     
    
    154 154
     rustfmt:
    
    155 155
       extends: .base
    
    ... ... @@ -163,7 +163,7 @@ rustfmt:
    163 163
             - '**/*.rs'
    
    164 164
             - 'tools/lint/rustfmt.yml'
    
    165 165
         # Run job whenever a commit is merged to a protected branch
    
    166
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    166
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    167 167
     
    
    168 168
     fluent-lint:
    
    169 169
       extends: .base
    
    ... ... @@ -178,7 +178,7 @@ fluent-lint:
    178 178
             - 'tools/lint/fluent-lint.yml'
    
    179 179
             - 'tools/lint/fluent-lint/exclusions.yml'
    
    180 180
         # Run job whenever a commit is merged to a protected branch
    
    181
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    181
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    182 182
     
    
    183 183
     localization:
    
    184 184
       extends: .base
    
    ... ... @@ -195,7 +195,7 @@ localization:
    195 195
             - 'third_party/python/fluent/**'
    
    196 196
             - 'tools/lint/l10n.yml'
    
    197 197
         # Run job whenever a commit is merged to a protected branch
    
    198
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    198
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    199 199
     
    
    200 200
     mingw-capitalization:
    
    201 201
       extends: .base
    
    ... ... @@ -212,7 +212,7 @@ mingw-capitalization:
    212 212
             - '**/*.h'
    
    213 213
             - 'tools/lint/mingw-capitalization.yml'
    
    214 214
         # Run job whenever a commit is merged to a protected branch
    
    215
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    215
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    216 216
     
    
    217 217
     mscom-init:
    
    218 218
       extends: .base
    
    ... ... @@ -229,7 +229,7 @@ mscom-init:
    229 229
             - '**/*.h'
    
    230 230
             - 'tools/lint/mscom-init.yml'
    
    231 231
         # Run job whenever a commit is merged to a protected branch
    
    232
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    232
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    233 233
     
    
    234 234
     file-whitespace:
    
    235 235
       extends: .base
    
    ... ... @@ -259,7 +259,7 @@ file-whitespace:
    259 259
             - '**/*.java'
    
    260 260
             - 'tools/lint/file-whitespace.yml'
    
    261 261
         # Run job whenever a commit is merged to a protected branch
    
    262
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    262
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    263 263
     
    
    264 264
     test-manifest:
    
    265 265
       extends: .base
    
    ... ... @@ -274,7 +274,7 @@ test-manifest:
    274 274
             - 'python/mozlint/**'
    
    275 275
             - 'tools/lint/**'
    
    276 276
         # Run job whenever a commit is merged to a protected branch
    
    277
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    277
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    278 278
     
    
    279 279
     trojan-source:
    
    280 280
       extends: .base
    
    ... ... @@ -293,4 +293,4 @@ trojan-source:
    293 293
             - '**/*.rs'
    
    294 294
             - 'tools/lint/trojan-source.yml'
    
    295 295
         # Run job whenever a commit is merged to a protected branch
    
    296
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    296
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')

  • .gitlab/ci/jobs/update-containers.yml
    ... ... @@ -10,7 +10,7 @@ build-base-image:
    10 10
           echo -e "\e[33mPushing new image to registry as ${TAG}\e[0m"
    
    11 11
           podman push ${TAG}
    
    12 12
       rules:
    
    13
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PROJECT_NAMESPACE == 'tpo/applications')
    
    13
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PROJECT_NAMESPACE == 'tpo/applications' && $CI_PIPELINE_SOURCE == 'push')
    
    14 14
           changes:
    
    15 15
               - '.gitlab/ci/containers/base/Containerfile'
    
    16 16
               - '.gitlab-ci.yml'

  • .gitlab/ci/jobs/update-translations.yml
    1 1
     .update-translation-base:
    
    2 2
       stage: update-translations
    
    3 3
       rules:
    
    4
    -    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
    
    4
    +    - if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push")
    
    5 5
           changes:
    
    6 6
             - "**/*.ftl"
    
    7 7
             - "**/*.properties"