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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user