Skip to content

Commit b7f994a

Browse files
committed
Run the required checks on every pull request
Both checks are required by branch protection on main, but path filters skipped them on pull requests that touched only docs, leaving those PRs blocked with no checks reported. Both workflows finish in seconds when nothing relevant changed, so run them unconditionally.
1 parent 288c91e commit b7f994a

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

‎.github/workflows/audit-examples.yml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,11 @@
1212

1313
name: Audit examples
1414

15+
# Runs on every pull request, not just ones that touch examples, because it
16+
# is a required check on main. When nothing relevant changed it finishes in
17+
# seconds with "No example folders changed".
1518
on:
1619
pull_request:
17-
paths:
18-
- "examples/**"
19-
- "catalog/**"
20-
- "scripts/**"
21-
- ".arcane-auditor/**"
22-
- ".github/workflows/audit-examples.yml"
2320
workflow_dispatch:
2421
inputs:
2522
dirs:

‎.github/workflows/validate-examples.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: Validate examples
22

3+
# Runs on every pull request because it is a required check on main. It
4+
# takes a few seconds, so there is no reason to skip it.
35
on:
46
pull_request:
5-
paths:
6-
- "catalog/**"
7-
- "examples/**"
8-
- "scripts/**"
9-
- "hub.config.json"
10-
- "README.md"
117

128
jobs:
139
validate:

0 commit comments

Comments
 (0)