chore(ci): skip perf and commits gates on Renovate-authored PRs #23
Reference in New Issue
Block a user
Delete Branch "chore/ci/skip-perf-commits-on-bot-prs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Renovate's dep-bump PRs run the full pipeline today (
check,scan,commits,perf,a11y). Two of those gates have near-zero signal on a typical bump and dominate the wall-clock cost:perf— Lighthouse build + 3-iteration median across the critical-routes list. 3-5 min per PR for a metric that is essentially zero on a patch/minor dep bump (the SPA today serves the static placeholder; even with real routes a typical bump stays inside the median noise floor).commits— re-validates commit messages that Renovate generates from a Conventional-Commits-conformant template. Tautological.Skip both when the PR author is the
apf-portal-botGitea user. Thepushevent onmainstill runs the full pipeline post-merge, so any regression caught byperfis detected seconds after merge — fast enough to revert.Net result: Renovate PRs run
check + scan + a11yonly, ≈ 4-5 min faster per PR.ADR amendment
ADR-0017 is amended in the same change:
perfis reworded to reflect the conditional gate.Test plan
check,scan,a11yqueued — noperf, nocommits.pushtomainpost-merge, the full pipeline runs includingperf.