quine-linux/installer/anaconda-webui/vendor/.github/workflows/docs-check.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

55 lines
1.5 KiB
YAML

name: Check Documentation
on:
pull_request:
paths:
- 'src/components/storage/scenarios/**'
- 'src/components/*/**.jsx'
- 'docs/generate-docs.js'
push:
branches: [main]
paths:
- 'src/components/storage/scenarios/**'
- 'src/components/*/**.jsx'
- 'docs/generate-docs.js'
jobs:
check-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Generate documentation
run: make docs
- name: Check for documentation changes
id: check_changes
run: |
if git diff --quiet docs/installation-steps.rst; then
echo "✅ Documentation is up to date"
echo "changes=false" >> $GITHUB_OUTPUT
else
echo "❌ Documentation needs to be updated"
echo "changes=true" >> $GITHUB_OUTPUT
echo ""
echo "=== Documentation changes needed ==="
git diff docs/installation-steps.rst
fi
- name: Fail if documentation is outdated
if: steps.check_changes.outputs.changes == 'true'
run: |
echo "::error::Documentation is outdated. Please run 'make docs' and commit the changes."
exit 1
- name: Success message
if: steps.check_changes.outputs.changes == 'false'
run: |
echo "✅ All documentation is current and up to date!"