Skip to content

Commit

Permalink
Update deploy pr to remove sha. (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
steveworley authored Sep 13, 2019
1 parent faef4bb commit 0dd2f4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Mutation/Environment/DeployPullRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ protected function query()
\$headBranchName: String!
\$headBranchRef: String!
\$baseBranchName: String!
\$baseBranchRef: String!
) {
deployEnvironmentPullrequest(input: {
project: {
Expand All @@ -48,7 +49,7 @@ protected function query()
title: \$title
headBranchName: \$headBranchName
headBranchRef: \$headBranchRef
baseBranchRef: \$baseBranchSha
baseBranchRef: \$baseBranchRef
baseBranchName: \$baseBranchName
})
}
Expand Down
3 changes: 2 additions & 1 deletion tests/Mutation/Environment/DeployPullRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function testQuery()
\$headBranchName: String!
\$headBranchRef: String!
\$baseBranchName: String!
\$baseBranchRef: String!
) {
deployEnvironmentPullrequest(input: {
project: {
Expand All @@ -61,7 +62,7 @@ public function testQuery()
title: \$title
headBranchName: \$headBranchName
headBranchRef: \$headBranchRef
baseBranchRef: \$baseBranchSha
baseBranchRef: \$baseBranchRef
baseBranchName: \$baseBranchName
})
}
Expand Down

0 comments on commit 0dd2f4f

Please # to comment.