From cbe941a7d23f25dc29e7d24247666009f953f231 Mon Sep 17 00:00:00 2001 From: Siddhant Medar Date: Tue, 14 Apr 2026 16:31:18 -0500 Subject: [PATCH] fix: move indented comment to correct indentation in ai-code-review Bitbucket's YAML parser was interpreting the deeper-indented comment after the printf line as a phantom empty list item, causing a 'Missing or empty command string' error at script item 9. --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 53d3c41..fb95627 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -116,8 +116,8 @@ definitions: - export AWS_REGION=us-east-1 - export AWS_ROLE_ARN="arn:aws:iam::975049960860:role/DoczyAI-Bitbucket-OIDC" - export AWS_WEB_IDENTITY_TOKEN_FILE="$(pwd)/web-identity-token" + # printf (not echo) avoids appending a trailing newline to the JWT - printf '%s' "$BITBUCKET_STEP_OIDC_TOKEN" > "$(pwd)/web-identity-token" - # printf (not echo) avoids appending a trailing newline to the JWT # Clone the review agent repo (private — needs BITBUCKET_CLONE_TOKEN) # SETUP REQUIRED: set BITBUCKET_CLONE_TOKEN (marked "Secured") in