Skip to content

Commit 93d5ac9

Browse files
micheleRPclaudeFeediver1
authored
ci: run playbook guard on every PR so it can be required (#611)
The check-branches guard had a paths filter, so it only ran when local-antora-playbook.yml changed. That meant it couldn't be made a required status check: a required check skipped by a paths filter leaves unrelated PRs stuck pending. Remove the paths filters so the guard runs on every PR (and on push to main). It passes fast when the playbook is standard. This makes it safe to mark check-branches as a required status check, which would have blocked PR #608 from merging with a non-standard branch reference. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
1 parent badff9d commit 93d5ac9

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/check-playbook.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
name: Check playbook branches
3+
# Runs on every PR (no paths filter) so it can be a required status check:
4+
# a required check that is skipped by a paths filter leaves PRs stuck pending.
5+
# It passes fast when the playbook is unchanged or standard.
36
on:
47
pull_request:
5-
paths:
6-
- local-antora-playbook.yml
78
push:
89
branches: [main]
9-
paths:
10-
- local-antora-playbook.yml
1110

1211
jobs:
1312
check-branches:

0 commit comments

Comments
 (0)