Skip to content

ci: include workflow files in pull_request path filters#198

Merged
alexolivier merged 1 commit into
mainfrom
fix/ci-workflow-path-filters
Apr 20, 2026
Merged

ci: include workflow files in pull_request path filters#198
alexolivier merged 1 commit into
mainfrom
fix/ci-workflow-path-filters

Conversation

@alexolivier
Copy link
Copy Markdown
Contributor

Summary

  • Each adapter test workflow now triggers when its own .github/workflows/*.yaml changes, so renovate PRs that only bump pinned action SHAs (e.g. chore(deps): update cerbos/cerbos-setup-action digest to 53d0a0d #179) actually run tests
  • Added the matching *-publish.yaml to each adapter's filter so publish-workflow edits get exercised by the test workflow too
  • Filled in the missing policies/** filter for drizzle.yaml (all other adapters already had it)

Fixes #197

Test plan

  • This PR itself triggers each adapter's test workflow because it touches .github/workflows/<adapter>.yaml
  • No policies/** or adapter source changes — if any adapter test runs unrelated to its workflow file, that's a surprise worth looking at

Adapter workflows only triggered on changes to their own adapter
directory (and, for most, policies/**). PRs that modified only
workflow files — e.g. renovate bumping the cerbos-setup-action
pinned SHA — ran no test checks because the workflows weren't in
their own paths filter.

Also adds the missing policies/** filter to drizzle.

Fixes #197

Signed-off-by: Alex Olivier <alex@alexolivier.me>
@alexolivier alexolivier merged commit 625792f into main Apr 20, 2026
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: include workflow files in pull_request path filters

1 participant