Open Fluent PR for Mozorg #446
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to open a PR on mozilla-l10n/www-l10n with | |
# new strings that exist in Bedrock and need localising | |
name: Open Fluent PR for Mozorg | |
on: | |
push: | |
paths: | |
- "l10n/**/*" | |
branches: | |
- main | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0/3 * * *" # Every 3 hours | |
jobs: | |
open_l10n_pr: | |
if: github.repository == 'mozilla/bedrock' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run PR-opening script | |
shell: bash | |
run: SITE_MODE=Mozorg FLUENT_REPO_AUTH=${{ secrets.FLUENT_REPO_AUTH }} bin/open-ftl-pr.sh |