We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36165ef commit 3d845a6Copy full SHA for 3d845a6
.github/workflows/e2e_test_for_prs.yml
@@ -25,7 +25,7 @@ jobs:
25
# aws ssm put-parameter --name "/cloudfront-integration-e2e/branch_name" --value "${{github.head_ref}}" --type "String" --overwrite
26
- name: Trigger AWS CodePipeline
27
run: |
28
- git_hash=${{ github.event.pull_request.head.ref }}
+ git_hash=${{ github.event.pull_request.head.sha }}
29
echo $git_hash
30
codepipeline_execution_id=$(aws codepipeline start-pipeline-execution --name ${{vars.AWS_E2E_TOPIC_BRANCH_CODEPIPELINE_NAME}} --source-revisions actionName=Source,revisionType=COMMIT_ID,revisionValue=$git_hash --query 'pipelineExecutionId' --output text)
31
echo "Pipeline execution ID: $codepipeline_execution_id"
0 commit comments