feat: Register an Antora Extension to detect unused images #27
Workflow file for this run
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
# Validate references of PR preview, until we can use Antora 3.2. When GA will be available, this will be directly done with the build of the preview | |
name: Validate xref | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '.github/actions/build-setup/**/*' | |
- '.github/workflows/_reusable_pr-validate-references.yml' | |
- '.github/workflows/pr-validate-references.yml' | |
- '.nvmrc' | |
- 'resources/**/*' | |
- 'antora-playbook.yml' | |
- 'build-preview.bash' | |
- 'package.json' | |
- 'package-lock.json' | |
jobs: | |
validate_xref: | |
uses: ./.github/workflows/_reusable_pr-validate-references.yml | |
with: | |
doc-site-branch: ${{ github.head_ref }} | |
# '>' Replace newlines with spaces (folded) | |
# '-' No newline at end (strip) | |
build-preview-command: >- | |
./build-preview.bash | |
--single-branch-per-repo |