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

Commits:

1 changed file:

Changes:

  • .gitlab/ci/lint.yml
    ... ... @@ -58,7 +58,7 @@ eslint:
    58 58
             - 'tools/lint/eslint/eslint-plugin-mozilla/**'
    
    59 59
             - 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
    
    60 60
         # Run job whenever a commit is merged to a protected branch
    
    61
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    61
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    62 62
     
    
    63 63
     stylelint:
    
    64 64
       extends: .base
    
    ... ... @@ -76,7 +76,7 @@ stylelint:
    76 76
             - '**/.stylelintignore'
    
    77 77
             - '**/*stylelintrc*'
    
    78 78
         # Run job whenever a commit is merged to a protected branch
    
    79
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    79
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    80 80
     
    
    81 81
     py-black:
    
    82 82
       extends: .base
    
    ... ... @@ -95,7 +95,7 @@ py-black:
    95 95
             - 'pyproject.toml'
    
    96 96
             - 'tools/lint/black.yml'
    
    97 97
         # Run job whenever a commit is merged to a protected branch
    
    98
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    98
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    99 99
     
    
    100 100
     py-ruff:
    
    101 101
       extends: .base
    
    ... ... @@ -114,7 +114,7 @@ py-ruff:
    114 114
             - 'tools/lint/python/ruff.py'
    
    115 115
             - 'tools/lint/python/ruff_requirements.txt'
    
    116 116
         # Run job whenever a commit is merged to a protected branch
    
    117
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    117
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    118 118
     
    
    119 119
     yaml:
    
    120 120
       extends: .base
    
    ... ... @@ -129,7 +129,7 @@ yaml:
    129 129
             - '**/*.yaml'
    
    130 130
             - '**/.ymllint'
    
    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
     shellcheck:
    
    135 135
       extends: .base
    
    ... ... @@ -143,7 +143,7 @@ shellcheck:
    143 143
             - '**/*.sh'
    
    144 144
             - 'tools/lint/shellcheck.yml'
    
    145 145
         # Run job whenever a commit is merged to a protected branch
    
    146
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    146
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    147 147
     
    
    148 148
     clang-format:
    
    149 149
       extends: .base
    
    ... ... @@ -163,7 +163,7 @@ clang-format:
    163 163
             - '**/*.mm'
    
    164 164
             - 'tools/lint/clang-format.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
     rustfmt:
    
    169 169
       extends: .base
    
    ... ... @@ -177,7 +177,7 @@ rustfmt:
    177 177
             - '**/*.rs'
    
    178 178
             - 'tools/lint/rustfmt.yml'
    
    179 179
         # Run job whenever a commit is merged to a protected branch
    
    180
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    180
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    181 181
     
    
    182 182
     fluent-lint:
    
    183 183
       extends: .base
    
    ... ... @@ -192,7 +192,7 @@ fluent-lint:
    192 192
             - 'tools/lint/fluent-lint.yml'
    
    193 193
             - 'tools/lint/fluent-lint/exclusions.yml'
    
    194 194
         # Run job whenever a commit is merged to a protected branch
    
    195
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    195
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    196 196
     
    
    197 197
     localization:
    
    198 198
       extends: .base
    
    ... ... @@ -209,7 +209,7 @@ localization:
    209 209
             - 'third_party/python/fluent/**'
    
    210 210
             - 'tools/lint/l10n.yml'
    
    211 211
         # Run job whenever a commit is merged to a protected branch
    
    212
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    212
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    213 213
     
    
    214 214
     mingw-capitalization:
    
    215 215
       extends: .base
    
    ... ... @@ -226,7 +226,7 @@ mingw-capitalization:
    226 226
             - '**/*.h'
    
    227 227
             - 'tools/lint/mingw-capitalization.yml'
    
    228 228
         # Run job whenever a commit is merged to a protected branch
    
    229
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    229
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    230 230
     
    
    231 231
     mscom-init:
    
    232 232
       extends: .base
    
    ... ... @@ -243,7 +243,7 @@ mscom-init:
    243 243
             - '**/*.h'
    
    244 244
             - 'tools/lint/mscom-init.yml'
    
    245 245
         # Run job whenever a commit is merged to a protected branch
    
    246
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    246
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    247 247
     
    
    248 248
     file-whitespace:
    
    249 249
       extends: .base
    
    ... ... @@ -273,7 +273,7 @@ file-whitespace:
    273 273
             - '**/*.java'
    
    274 274
             - 'tools/lint/file-whitespace.yml'
    
    275 275
         # Run job whenever a commit is merged to a protected branch
    
    276
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    276
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    277 277
     
    
    278 278
     test-manifest:
    
    279 279
       extends: .base
    
    ... ... @@ -288,7 +288,7 @@ test-manifest:
    288 288
             - 'python/mozlint/**'
    
    289 289
             - 'tools/lint/**'
    
    290 290
         # Run job whenever a commit is merged to a protected branch
    
    291
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    
    291
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')
    
    292 292
     
    
    293 293
     trojan-source:
    
    294 294
       extends: .base
    
    ... ... @@ -307,4 +307,4 @@ trojan-source:
    307 307
             - '**/*.rs'
    
    308 308
             - 'tools/lint/trojan-source.yml'
    
    309 309
         # Run job whenever a commit is merged to a protected branch
    
    310
    -    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true')
    310
    +    - if: ($CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED == 'true' && $CI_PIPELINE_SOURCE == 'push')