You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): Add path filters and concurrency groups to reduce Actions minutes (#1442)
* chore(ci): Add path filters and concurrency groups to reduce Actions minutes
316k minutes consumed in 90 days (~58 hrs/day) on free runners. Several
workflows ran on every push regardless of what changed, and lacked
concurrency groups causing superseded runs to stack.
Changes:
- test.yml: Add Go/proto path filters (biggest win — 3 shards × every push)
- build.yml: Add Go/Dockerfile/proto path filters
- quality.yml: Add Go/shell/Tiltfile path filters
- proto.yml: Add proto/buf path filters + concurrency group
- markdown.yml: Add *.md path filters + concurrency group
- saga-validation.yml: Add path filters to push trigger (PR already had them) + concurrency group
- codeql.yml: Add concurrency group (no path filters — security scanning should always run)
- security.yml: Add concurrency group (same rationale)
- e2e.yml: Add concurrency group (already had path filters)
No required status checks are configured, so skipped workflows won't
block merging.
* fix: Add buf.yaml, buf.lock, Makefile to path filters
Address review comments: workflows that run buf generate need buf.yaml
and buf.lock in path filters. build.yml also needs Makefile since it
runs make test on push events.
* fix: Remove path filter from build.yml push trigger to protect tag releases
Path filters apply to all push events including tag pushes. A v* tag
push on a commit that only changes non-code files would skip the Docker
build, breaking releases. Keep path filter on PR trigger only (high
frequency), push trigger always runs (low frequency — develop/main/tags).
---------
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>
0 commit comments