quine-linux/installer/anaconda-webui/vendor/.github/workflows/weblate-sync-po.yml
Philip Peterson 255042fe8d Vendor anaconda-webui and build it into the installer image
Replaces installing a patched anaconda-webui RPM from the forge's package
registry: installer/anaconda-webui/vendor/ is upstream release 86 verbatim
(see its PROVENANCE.md), and installer/Containerfile builds it with
upstream's own `make install` in a native-platform stage, then copies the
result over stock Fedora anaconda-webui. The produced file set matches
Fedora's anaconda-webui-86-1.fc46 exactly. Edits to the installer UI now
happen in vendor/ and ship on the next `task build-installer-iso`, with no
RPM, registry or CI in between.

Also follows bootc-image-builder's rename of --bootc-installer-payload-ref
to --installer-payload-ref.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 05:56:26 -08:00

46 lines
1.3 KiB
YAML

name: weblate-sync-po
on:
schedule:
# Run this on Tuesday evening (UTC), so that it's ready for release on
# Wednesday, with some spare time
- cron: '0 18 * * 2'
# can be run manually on https://github.com/rhinstaller/anaconda-webui/actions
workflow_dispatch:
jobs:
po-refresh:
environment: self
permissions:
pull-requests: write
statuses: write
runs-on: ubuntu-latest
steps:
- name: Set up dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends gettext
- name: Clone source repository
uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
path: src
- name: Clone weblate repository
uses: actions/checkout@v3
with:
repository: ${{ github.repository }}-l10n
path: weblate
- name: Copy .po files from weblate repository
run: cp weblate/*.po src/po/
- name: Run po-refresh bot
run: |
cd src
make bots
git config --global user.name "GitHub Workflow"
git config --global user.email "cockpituous@cockpit-project.org"
mkdir -p ~/.config/cockpit-dev
echo ${{ github.token }} >> ~/.config/cockpit-dev/github-token
COVERAGE_THRESHOLD=0 bots/po-refresh