File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish Commit SHA for performance testing
22on :
3- pull_request :
3+ pull_request_target :
44 types :
55 - closed
66 branches :
@@ -12,10 +12,11 @@ permissions:
1212 contents : read # This is required for actions/checkout
1313jobs :
1414 publishCommit :
15+ if : github.event.pull_request.merged == true
1516 runs-on : ubuntu-latest
1617 steps :
1718 - uses : aws-actions/configure-aws-credentials@v4
1819 with :
1920 role-to-assume : arn:aws:iam::637423498965:role/GitHubActionGrahQLJava
2021 aws-region : " ap-southeast-2"
21- - run : aws sns publish --topic-arn "arn:aws:sns:ap-southeast-2:637423498965:graphql-java-commits.fifo" --message $GITHUB_SHA --message-group-id "graphql-java-commits"
22+ - run : aws sns publish --topic-arn "arn:aws:sns:ap-southeast-2:637423498965:graphql-java-commits.fifo" --message $GITHUB_SHA --message-group-id "graphql-java-commits"
You can’t perform that action at this time.
0 commit comments