Skip to content

Commit 96008e1

Browse files
nchamoaztec-bot
authored andcommitted
fix(ci): skip acceptance test for canary -commit. tags (#22951)
## Problem The acceptance test workflow fires whenever CI3 succeeds on any `v*` branch, including development canary tags like `v0.0.1-commit.<sha>`. However, those canary tags are intentionally excluded from the publishing pipeline (`!contains(github.ref_name, '-commit.')`), so the installer probe hits the install endpoint for an artifact that was never published and fails with a 404. ## Fix Add a matching `!contains(..., '-commit.')` guard to the acceptance test job's `if:` condition so the workflow only runs for refs whose artifacts are actually published.
1 parent c5ebbe0 commit 96008e1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/aztec-cli-acceptance-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222
if: >-
2323
github.event_name == 'workflow_dispatch' ||
24-
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
24+
(github.event_name == 'workflow_run'
25+
&& github.event.workflow_run.conclusion == 'success'
26+
&& !contains(github.event.workflow_run.head_branch, '-commit.'))
2527
timeout-minutes: 30
2628
env:
2729
VERSION: ${{ github.event.inputs.version || github.event.workflow_run.head_branch }}

0 commit comments

Comments
 (0)