- Newest
- Most votes
- Most comments
Hi,
I'm Zainub from AWS Premium Support and it will be my pleasure assisting you on this question.
I understand that:
- CodeBuild has been integrated with GitHub Enterprise using webhooks.
- It is required that the build triggers on pull requests but not report it's status back to the GitHub repository as other Lambda functions handle the PR status and checks reporting.
- The CodeBuild project source configuration has been updated to disable "Report build statuses to source provider" and the status and target URLs have been left blank.
- Despite the source configuration updates, the build status is still reported back to GitHub.
- Guidance on why it is reporting and how to disable it is required.
Kindly confirm if the summary and understanding of the issue is correct.
According to the CodeBuild documentation:
The status of a build triggered by a web hook is always reported to your source provider.
Therefore, a web hook-triggered build ignoring the reportBuildStatus property is by design.
As I do not have insight into the custom automation (Lambda functions etc.) that has been implemented on your end, it is difficult to suggest a work-around or advice on the best way forward. In this regard, I recommend reaching out to a Solutions Architect who would be better equipped to provide the best advice on the way forward. You can get in touch with a Solutions Architect via the AWS sales page.
I hope you find the above informative and have a great day further.
Linked Resources:
Relevant content
- asked 8 months ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago