Skip to content

Commit 4c02086

Browse files
author
AWS
committed
AWS CodeBuild Update: AWS CodeBuild now supports PullRequestBuildPolicy in webhook object.
1 parent dfe36f1 commit 4c02086

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CodeBuild",
4+
"contributor": "",
5+
"description": "AWS CodeBuild now supports PullRequestBuildPolicy in webhook object."
6+
}

services/codebuild/src/main/resources/codegen-resources/service-2.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4060,7 +4060,7 @@
40604060
"documentation":"<p>List of repository roles that have approval privileges for pull request builds when comment approval is required. Only users with these roles can provide valid comment approvals. If a pull request contributor is one of these roles, their pull request builds will trigger automatically. This field is only applicable when <code>requiresCommentApproval</code> is not <i>DISABLED</i>.</p>"
40614061
}
40624062
},
4063-
"documentation":"<p>Configuration policy that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>"
4063+
"documentation":"<p>A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>"
40644064
},
40654065
"PutResourcePolicyInput":{
40664066
"type":"structure",
@@ -5708,7 +5708,8 @@
57085708
"statusMessage":{
57095709
"shape":"String",
57105710
"documentation":"<p>A message associated with the status of a webhook.</p>"
5711-
}
5711+
},
5712+
"pullRequestBuildPolicy":{"shape":"PullRequestBuildPolicy"}
57125713
},
57135714
"documentation":"<p>Information about a webhook that connects repository events to a build project in CodeBuild.</p>"
57145715
},

0 commit comments

Comments
 (0)