workflows: Run Antora on workflow changes

Previously the workflow only ran when the doc subdir changed. We kinda
also need to see the workflow working when we do updates to it.

Adds the workflow to be run when its own file changes

Signed-off-by: Freya Gustavsson <freya@venefilyn.se>
This commit is contained in:
Freya Gustavsson 2026-07-17 12:34:31 +02:00
parent e7d4bc60af
commit 7043a64bdb

View file

@ -2,8 +2,10 @@ name: verify-antora
on:
pull_request:
# Only run when a file has changed in doc/ directory
# Or the workflow file was changed
paths:
- doc/**
- .github/workflows/verify-antora.yml
branches:
- main
jobs: