Skip to content

chore(ci): add docs-only pr checks workflow and fix branch protection gap#1863

Merged
piorpua merged 2 commits intomainfrom
zynx/chore/improve-branch-protection
Mar 29, 2026
Merged

chore(ci): add docs-only pr checks workflow and fix branch protection gap#1863
piorpua merged 2 commits intomainfrom
zynx/chore/improve-branch-protection

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Mar 29, 2026

Summary

  • Add `pr-checks-docs.yml` to handle PRs that only change docs/md files — previously these PRs bypassed all CI checks due to `paths-ignore` in the main workflow, causing the required `Code Quality` check to never report and blocking auto-merge
  • Docs-only PRs now run `prek` for format checks (oxfmt covers `.md` files) but skip unit tests and build
  • Add bypass jobs for `Unit Tests` matrix to satisfy required status checks when unit tests are not needed
  • Remove emoji from `pr-checks` workflow name

Test plan

  • Open a PR that only changes `.md` or `docs/` files — verify `pr-checks-docs.yml` triggers and `Code Quality` check passes
  • Open a PR that changes source code — verify `pr-checks.yml` triggers as before
  • Verify docs-only PR can be merged after `Code Quality` passes

… gap

- Remove emoji from pr-checks workflow name
- Add pr-checks-docs.yml to handle PRs that only change docs/md files
- Docs-only PRs run prek for format checks but skip unit tests and build
- Add bypass jobs for unit-tests matrix to satisfy required status checks
@piorpua piorpua merged commit 9e82cab into main Mar 29, 2026
17 checks passed
@piorpua piorpua deleted the zynx/chore/improve-branch-protection branch March 29, 2026 05:56
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.

2 participants