ci: skip the test-contour deploy on a no-code change #214

Merged
developer merged 1 commits from feature/ci-skip-deploy-on-docs into development 2026-07-07 21:27:47 +00:00
Owner

The deploy job was gated only on the event/ref, so a docs-only PR into development (where unit/integration/ui/conformance path-skip) still redeployed the test contour for nothing.

Gate deploy on the changes job too: it runs only when the Go or UI side actually changed. changes still defaults both to true when the diff is uncomputable, and a workflow/deploy edit forces both true, so ambiguous or infra changes still deploy as a safety net. A PR into master stays test-only; prod deploy is unaffected (separate manual workflow).

Note: this PR itself touches .gitea/workflows/, which forces the full suite + deploy — the docs-only skip will show on the next such PR.

The `deploy` job was gated only on the event/ref, so a docs-only PR into `development` (where `unit`/`integration`/`ui`/`conformance` path-skip) still redeployed the test contour for nothing. Gate `deploy` on the `changes` job too: it runs only when the Go or UI side actually changed. `changes` still defaults both to `true` when the diff is uncomputable, and a workflow/deploy edit forces both `true`, so ambiguous or infra changes still deploy as a safety net. A PR into `master` stays test-only; prod deploy is unaffected (separate manual workflow). Note: this PR itself touches `.gitea/workflows/`, which forces the full suite + deploy — the docs-only skip will show on the next such PR.
developer added 1 commit 2026-07-07 21:22:50 +00:00
ci: skip the test-contour deploy on a no-code change
CI / changes (pull_request) Successful in 1s
CI / unit (pull_request) Successful in 11s
CI / integration (pull_request) Successful in 15s
CI / ui (pull_request) Successful in 1m6s
CI / conformance (pull_request) Successful in 10s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m44s
4d1f389cf1
The deploy job gated only on the event/ref, so a docs-only PR into
development (where unit/integration/ui/conformance path-skip) still
redeployed the test contour for nothing. Gate it on the `changes` job
too: deploy only when the Go or UI side changed. `changes` still
defaults both true when the diff is uncomputable, and a workflow/deploy
edit forces both true, so ambiguous or infra changes still deploy.
owner approved these changes 2026-07-07 21:23:50 +00:00
developer merged commit 3ad3b1dd7f into development 2026-07-07 21:27:47 +00:00
developer deleted branch feature/ci-skip-deploy-on-docs 2026-07-07 21:27:47 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: developer/scrabble-game#214