Skip to main content
Sign in
Snippets Groups Projects
Commit 3accc5a1 authored by Beatriz Rizental's avatar Beatriz Rizental Committed by Pier Angelo Vendrame
Browse files

fixup! Add CI for Base Browser

Re-enable lint jobs for default branches
parent 73192867
No related branches found
No related tags found
1 merge request!1256Bug 43121: Use new dedicated runners for lint jobs
......@@ -52,7 +52,7 @@ eslint:
- 'tools/lint/eslint/eslint-plugin-mozilla/**'
- 'tools/lint/eslint/eslint-plugin-spidermonkey-js/**'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
stylelint:
extends: .base
......@@ -70,7 +70,7 @@ stylelint:
- '**/.stylelintignore'
- '**/*stylelintrc*'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
py-black:
extends: .base
......@@ -89,7 +89,7 @@ py-black:
- 'pyproject.toml'
- 'tools/lint/black.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
py-ruff:
extends: .base
......@@ -108,7 +108,7 @@ py-ruff:
- 'tools/lint/python/ruff.py'
- 'tools/lint/python/ruff_requirements.txt'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
yaml:
extends: .base
......@@ -123,7 +123,7 @@ yaml:
- '**/*.yaml'
- '**/.ymllint'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
shellcheck:
extends: .base
......@@ -137,7 +137,7 @@ shellcheck:
- '**/*.sh'
- 'tools/lint/shellcheck.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
clang-format:
extends: .base
......@@ -157,7 +157,7 @@ clang-format:
- '**/*.mm'
- 'tools/lint/clang-format.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
rustfmt:
extends: .base
......@@ -171,7 +171,7 @@ rustfmt:
- '**/*.rs'
- 'tools/lint/rustfmt.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
fluent-lint:
extends: .base
......@@ -186,7 +186,7 @@ fluent-lint:
- 'tools/lint/fluent-lint.yml'
- 'tools/lint/fluent-lint/exclusions.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
localization:
extends: .base
......@@ -203,7 +203,7 @@ localization:
- 'third_party/python/fluent/**'
- 'tools/lint/l10n.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
mingw-capitalization:
extends: .base
......@@ -220,7 +220,7 @@ mingw-capitalization:
- '**/*.h'
- 'tools/lint/mingw-capitalization.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
mscom-init:
extends: .base
......@@ -237,7 +237,7 @@ mscom-init:
- '**/*.h'
- 'tools/lint/mscom-init.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
file-whitespace:
extends: .base
......@@ -266,7 +266,7 @@ file-whitespace:
- '**/*.xhtml'
- 'tools/lint/file-whitespace.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
test-manifest:
extends: .base
......@@ -281,7 +281,7 @@ test-manifest:
- 'python/mozlint/**'
- 'tools/lint/**'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
trojan-source:
extends: .base
......@@ -300,4 +300,4 @@ trojan-source:
- '**/*.rs'
- 'tools/lint/trojan-source.yml'
# Run job whenever a commit is merged to a protected branch
# - if: $CI_COMMIT_REF_PROTECTED == 'true'
- if: $CI_COMMIT_REF_PROTECTED == 'true'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment