Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(app-autoscaler-release): allow admins to bypass required status checks #813

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

geigerj0
Copy link
Contributor

Problem

The release pipeline of app-autoscaler-release is broken because the CI-user is no longer allowed to push directly to main since all required status checks must pass.

remote: error: GH006: Protected branch update failed for refs/heads/main.        
remote: error: Changes must be made through a pull request. 11 of 11 required status checks are expected.  

https://concourse.app-runtime-interfaces.ci.cloudfoundry.org/teams/app-autoscaler/pipelines/app-autoscaler-release/jobs/release/builds/30#L65f9ea50:12:13

The problem is more or less the same as this here #674.

Solution

Allow admins to bypass the required status checks

@geigerj0 geigerj0 changed the title Allow admins to bypass required status checks fix(app-autoscaler-release): allow admins to bypass required status checks Apr 17, 2024
@stephanme
Copy link
Contributor

I'm not aware of any other solution than disabling branch protection for admins.

@stephanme stephanme added the wg label Apr 17, 2024
@stephanme stephanme merged commit a85391c into cloudfoundry:main Apr 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants