From 921e258d3559019ba2d9fd7edf20e76fdbb0a6b9 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 22 Mar 2026 15:38:15 +0100 Subject: [PATCH] Revert "Avoid to have stuck actions when running update_locales task" This reverts commit d618a2bc7ebe550cfcef31df8ddd0c8a12cf6bf1. Unfortunately it did not fix the hanging actions for the locale update job; fixing the issue is tracked in #20813. --- .github/workflows/ci.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/prefs_tests.yml | 2 +- .github/workflows/types_tests.yml | 2 +- .github/workflows/update_locales.yml | 6 ------ 7 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6503ba99..1b5c4a796 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name: CI -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request] permissions: contents: read diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 99aa1e5e8..8caa50084 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,5 +1,5 @@ name: CodeQL -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request] permissions: contents: read diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e73825083..94d36ed7f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,5 +1,5 @@ name: Code Coverage -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request] permissions: contents: read diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 249b6d2bf..0fb706004 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ name: Lint -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request] permissions: contents: read diff --git a/.github/workflows/prefs_tests.yml b/.github/workflows/prefs_tests.yml index 02cce134b..fb8c91e91 100644 --- a/.github/workflows/prefs_tests.yml +++ b/.github/workflows/prefs_tests.yml @@ -1,5 +1,5 @@ name: Prefs tests -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request] permissions: contents: read diff --git a/.github/workflows/types_tests.yml b/.github/workflows/types_tests.yml index 4a2a19fc5..9d08a0e05 100644 --- a/.github/workflows/types_tests.yml +++ b/.github/workflows/types_tests.yml @@ -1,5 +1,5 @@ name: Types tests -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request] permissions: contents: read diff --git a/.github/workflows/update_locales.yml b/.github/workflows/update_locales.yml index 17b89cc46..49718b679 100644 --- a/.github/workflows/update_locales.yml +++ b/.github/workflows/update_locales.yml @@ -6,7 +6,6 @@ on: workflow_dispatch: # Allow manual triggering permissions: - actions: write contents: write pull-requests: write @@ -50,8 +49,3 @@ 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