mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
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:
parent
e7d4bc60af
commit
7043a64bdb
1 changed files with 2 additions and 0 deletions
2
.github/workflows/verify-antora.yml
vendored
2
.github/workflows/verify-antora.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue