Skip to content

Run CI on pull requests only, and bound every job - #8

Merged
imanimanyara merged 1 commit into
mainfrom
ci/pull-request-only
Aug 28, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
ci/pull-request-only

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

Eleven workflows. Four had a bare push: (no branches or tags), so they fired on every branch and every release tag — double-running on each release. All branch-triggered workflows already had pull_request, so nothing loses coverage.

release.yml keeps its tag trigger and gets cancel-in-progress: false — cancelling a half-finished publish is worse than letting it run.

Every job now has timeout-minutes; previously they inherited the 360-minute default.

Every branch-triggered workflow also had a pull_request trigger, so a PR from a
same-repo branch ran the whole suite twice. Release workflows keep their tag
trigger, and scorecard.yml keeps its branch push because OpenSSF Scorecard needs
that event to publish results.

Jobs had no timeout-minutes, so each inherited the 360-minute default; a job that
hangs on an API call could burn six hours unnoticed. Concurrency stops superseded
runs, except on publishing workflows, where cancelling a half-finished release is
worse than letting it finish.
@imanimanyara
imanimanyara merged commit 42820e3 into main Aug 28, 2026
7 of 9 checks passed
@imanimanyara
imanimanyara deleted the ci/pull-request-only branch August 28, 2026 13:44
@github-actions

Copy link
Copy Markdown

Benchmark results

Scenario Optimizations Native Laravel Optimized Speedup Δ vs base
Product import — 500 items, simple rules Wildcard, fast-check 177.8ms 3.3ms ~54x -3%
Nested order lines — 1000 orders × 5 line items Wildcard, fast-check (nested) 1308.4ms 19.1ms ~68x -4%
Event scheduling — 100 items, field-ref dates Wildcard, partial fast-check 28.5ms 1.3ms ~22x +0%
Article submission — 50 items, custom Rule objects Wildcard only 10.2ms 2.8ms ~4x +4%
Conditional import — 100 items, 47 conditional fields Wildcard, pre-evaluation 3666.7ms 49.0ms ~75x -4%
Login form — 3 fields, no wildcards Fast-check (flat) 0.1ms 0.0ms ~8x —

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