mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-09 14:54:04 +02:00
Merge pull request #20819 from calixteman/avoid_stuck_actions
Avoid to have stuck actions when running update_locales task
This commit is contained in:
commit
d08e90b051
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -1,5 +1,5 @@
|
||||
name: CI
|
||||
on: [push, pull_request]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -1,5 +1,5 @@
|
||||
name: CodeQL
|
||||
on: [push, pull_request]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -1,5 +1,5 @@
|
||||
name: Code Coverage
|
||||
on: [push, pull_request]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -1,5 +1,5 @@
|
||||
name: Lint
|
||||
on: [push, pull_request]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
2
.github/workflows/prefs_tests.yml
vendored
2
.github/workflows/prefs_tests.yml
vendored
@ -1,5 +1,5 @@
|
||||
name: Prefs tests
|
||||
on: [push, pull_request]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
2
.github/workflows/types_tests.yml
vendored
2
.github/workflows/types_tests.yml
vendored
@ -1,5 +1,5 @@
|
||||
name: Types tests
|
||||
on: [push, pull_request]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
6
.github/workflows/update_locales.yml
vendored
6
.github/workflows/update_locales.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user