Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ jobs:
prefix: ${{ env.PATH_PREFIX }}
strict: ${{ fromJSON(inputs.strict != '' && inputs.strict || 'true') }}

- uses: elastic/docs-builder/actions/validate-inbound-local@main
- name: 'Validate Inbound Links'
uses: elastic/docs-builder/actions/validate-inbound-local@main
if: ${{ !cancelled() && (steps.deployment.outputs.result || (steps.check-files.outputs.any_changed == 'true' && github.event_name == 'merge_group')) }}

- uses: elastic/docs-builder/.github/actions/aws-auth@main
Expand Down
14 changes: 8 additions & 6 deletions actions/validate-inbound-local/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: 'Validate Inbound Links'
description: 'Validates all published cross links from all known repositories against local links.json'

inputs:
command:
description: 'The assembler command to run'
required: false
default: "link validate-inbound-local"

runs:
using: "composite"
steps:
- name: Validate Inbound Links
uses: elastic/docs-builder/actions/assembler@main
with:
command: "link validate-inbound-local"
using: 'docker'
image: "docker://ghcr.io/elastic/docs-assembler:edge"