diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e306ae5dd..4150a32a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name: CI -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] permissions: contents: read diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 26d7b1210..919ff766b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,5 +1,5 @@ name: CodeQL -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] permissions: contents: read diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index fc62d72fa..79df744d4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,5 +1,5 @@ name: Code Coverage -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] permissions: contents: read diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 94e849728..d601d40c5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ name: Lint -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] permissions: contents: read diff --git a/.github/workflows/prefs_tests.yml b/.github/workflows/prefs_tests.yml index b439dbf5c..2edbf1529 100644 --- a/.github/workflows/prefs_tests.yml +++ b/.github/workflows/prefs_tests.yml @@ -1,5 +1,5 @@ name: Prefs tests -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] permissions: contents: read diff --git a/.github/workflows/types_tests.yml b/.github/workflows/types_tests.yml index 15bb3d25d..d569b1b02 100644 --- a/.github/workflows/types_tests.yml +++ b/.github/workflows/types_tests.yml @@ -1,5 +1,5 @@ name: Types tests -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] permissions: contents: read diff --git a/.github/workflows/update_locales.yml b/.github/workflows/update_locales.yml index f6f22b546..36e768354 100644 --- a/.github/workflows/update_locales.yml +++ b/.github/workflows/update_locales.yml @@ -6,6 +6,7 @@ on: workflow_dispatch: # Allow manual triggering permissions: + actions: write contents: write pull-requests: write @@ -47,3 +48,8 @@ jobs: --title "l10n: Update locale files" \ --body "Automated weekly update of locale files from mozilla-central." \ --label l10n || true + # GITHUB_TOKEN-initiated pushes/PRs don't trigger other workflows. + # Explicitly dispatch them so CI runs on the update-locales branch. + for workflow in ci.yml lint.yml codeql.yml; do + gh workflow run "$workflow" --ref update-locales + done