@@ -367,6 +367,7 @@ jobs:
367
367
env.MATCH == 'true'
368
368
&& (
369
369
!cancelled()
370
+ && github.repository != 'elastic/docs-builder'
370
371
&& steps.docs-build.outputs.skip != 'true'
371
372
&& (
372
373
steps.deployment.outputs.result
@@ -377,12 +378,31 @@ jobs:
377
378
)
378
379
)
379
380
uses : elastic/docs-builder/actions/validate-inbound-local@main
381
+
382
+ - name : ' Validate inbound links'
383
+ if : >
384
+ env.MATCH == 'true'
385
+ && (
386
+ !cancelled()
387
+ && github.repository == 'elastic/docs-builder'
388
+ && steps.docs-build.outputs.skip != 'true'
389
+ && (
390
+ steps.deployment.outputs.result
391
+ || (
392
+ needs.check.outputs.any_modified == 'true'
393
+ && github.event_name == 'merge_group'
394
+ )
395
+ )
396
+ )
397
+ run : |
398
+ dotnet run --project src/tooling/docs-builder -- inbound-links validate-link-reference
380
399
381
400
- name : ' Validate local path prefixes against those claimed by global navigation.yml'
382
401
if : >
383
402
env.MATCH == 'true'
384
403
&& (
385
404
!cancelled()
405
+ && github.repository != 'elastic/docs-builder'
386
406
&& steps.docs-build.outputs.skip != 'true'
387
407
&& (
388
408
steps.deployment.outputs.result
@@ -393,6 +413,24 @@ jobs:
393
413
)
394
414
)
395
415
uses : elastic/docs-builder/actions/validate-path-prefixes-local@main
416
+
417
+ - name : ' Validate local path prefixes against those claimed by global navigation.yml'
418
+ if : >
419
+ env.MATCH == 'true'
420
+ && (
421
+ !cancelled()
422
+ && github.repository == 'elastic/docs-builder'
423
+ && steps.docs-build.outputs.skip != 'true'
424
+ && (
425
+ steps.deployment.outputs.result
426
+ || (
427
+ needs.check.outputs.any_modified == 'true'
428
+ && github.event_name == 'merge_group'
429
+ )
430
+ )
431
+ )
432
+ run : |
433
+ dotnet run --project src/tooling/docs-builder -- path-prefixes validate-link-reference
396
434
397
435
- uses : elastic/docs-builder/.github/actions/aws-auth@main
398
436
if : >
0 commit comments