mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-30 19:07:22 +02:00
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.
This commit is contained in:
parent
9fa5cb9b30
commit
921e258d35
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: CodeQL
|
name: CodeQL
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: Code Coverage
|
name: Code Coverage
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: Lint
|
name: Lint
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/prefs_tests.yml
vendored
2
.github/workflows/prefs_tests.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: Prefs tests
|
name: Prefs tests
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/types_tests.yml
vendored
2
.github/workflows/types_tests.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: Types tests
|
name: Types tests
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/update_locales.yml
vendored
6
.github/workflows/update_locales.yml
vendored
@ -6,7 +6,6 @@ on:
|
|||||||
workflow_dispatch: # Allow manual triggering
|
workflow_dispatch: # Allow manual triggering
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
actions: write
|
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
@ -50,8 +49,3 @@ jobs:
|
|||||||
--title "l10n: Update locale files" \
|
--title "l10n: Update locale files" \
|
||||||
--body "Automated weekly update of locale files from mozilla-central." \
|
--body "Automated weekly update of locale files from mozilla-central." \
|
||||||
--label l10n || true
|
--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
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user