I’m unable to get GitHub commit statuses/checks to work for my Buildkite pipeline.
I have an existing pipeline created a while ago which does seem to update the commit status correctly. However, this is not happening for a new (test) pipeline that I created for a test GitHub repository. The pipeline itself is trivial and completes successfully, but there is nothing visible on the GitHub side - no status on the commit and no check shows up.
I have followed the instructions as per the documentation where it says “GitHub Authorization Required” in the screenshot below. I’m not sure if the callout is always going to show up or if it goes away once successfully configured (I still see it on the old pipeline where the commit status does work). The link to “connect your GitHub account” always takes me to my user instead of my GitHub organization. I have verified that my GitHub org has the Buildkite app installed.
The user that is installing our Github app needs to be an admin on Buildkite as well as in the Github organization. If that’s not resolved the user can connect the app via the Personal settings:
I don’t see Buildkite in my GitHub apps for my personal profile
The repo I am trying to set up has the webhook configured
Your own GitHub account also needs to be connected with Buildkite to make sure the GitHub commit statuses/checks work for your pipeline.
I am not clear on what this means. We have an existing pipeline that I created a while ago > 1yr for which I can see the commit status/check show up on GitHub. Also, I can’t see any way to install the Buildkite app for my GitHub user (as opposed to the org).
Just updating the forum as well as we found out the issue with this.
Under the GitHub settings of the pipeline
pipeline settings → Github → Repository Settings
The Github user selected was “Any Account” and also the git repo that the account selected was different in the case where the commit statuses were not working.