Skip to content

ci(renovate): run validator on every pull request - #4

Merged
setchy merged 1 commit into
mainfrom
fix/renovate-validator-always-on-pr
Oct 8, 2026
Merged

setchy merged 1 commit into
mainfrom
fix/renovate-validator-always-on-pr

Conversation

@setchy

@setchy setchy commented Oct 8, 2026

Copy link
Copy Markdown
Member

Why

To make the validator a required status check on main (task 1.2 of the change), it must run on every pull request. The current pull_request trigger is path-filtered to *.json and the workflow file, so a required check would leave PRs that touch neither (e.g. a README-only change) permanently "waiting for status to be reported" and unable to merge.

Change

  • Remove the pull_request path filter — the validator now runs on every PR.
  • Keep the push path filter (no need to run on every main push).

Auto-detection means unrelated PRs simply validate whatever config/preset files are present.

Ordering

Merge this, then enable branch protection with Validate Renovate config as a required check on main. Draft pending review.

Remove the pull_request path filter so the check is always reported. A path-filtered check that is required in branch protection would leave unrelated PRs (for example docs-only) stuck waiting for a status that never runs.
@setchy
setchy marked this pull request as ready for review October 8, 2026 14:32
@setchy
setchy merged commit 30c207d into main Oct 8, 2026
1 check passed
@setchy
setchy deleted the fix/renovate-validator-always-on-pr branch October 8, 2026 14:33
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.

1 participant