Skip to content

Commit e3547fc

Browse files
committed
🤖 ci: gate publish-main on terraform checks
Require the terraform CI job for publish-main so GHCR image publishes on main are blocked whenever Terraform validation/scanning fails. --- _Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `$0.27`_ <!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh costs=0.27 -->
1 parent 889dc84 commit e3547fc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ jobs:
318318

319319
publish-main:
320320
name: Publish GHCR :main
321-
needs: [changes, test, lint, lint-actions, e2e-kind]
321+
needs: [changes, test, lint, lint-actions, e2e-kind, terraform]
322322
if: |
323323
always() &&
324324
github.event_name == 'push' &&
@@ -327,7 +327,8 @@ jobs:
327327
(needs.test.result == 'success' || needs.test.result == 'skipped') &&
328328
(needs.lint.result == 'success' || needs.lint.result == 'skipped') &&
329329
(needs.lint-actions.result == 'success' || needs.lint-actions.result == 'skipped') &&
330-
(needs.e2e-kind.result == 'success' || needs.e2e-kind.result == 'skipped')
330+
(needs.e2e-kind.result == 'success' || needs.e2e-kind.result == 'skipped') &&
331+
(needs.terraform.result == 'success' || needs.terraform.result == 'skipped')
331332
runs-on: depot-ubuntu-24.04-8
332333
timeout-minutes: 30
333334
permissions:

0 commit comments

Comments
 (0)