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

Exclude CLAW from branch protection rule #945

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

gururajsh
Copy link
Member

CLI uses CLAW as a redirect for downloads. We use github actions workflows for our release. The workflow updates the repo with latest version number to serve using a bot account. This push is failing because of branch protection rules as seen here. The same action passed when it ran with branch protection rule removed for CLAW. We tested this with multiple different settings (changing user/email/keys and combinations of these), none of them worked with branch protection rules being set.

The ssh key used to access repo belongs to the CF CLI BOT which belongs cloudfoundry/wg-app-runtime-interfaces-cli-bots Discussed this issue in WG Call as well. So the best course of action for now is to remove the branch protection rule. We are doing similar thing with homebrew-tap update from our workflow which has no issues. This repo has no branch protection rule set.

@Gerg Gerg requested review from Gerg and stephanme August 9, 2024 17:30
@stephanme stephanme added the wg label Aug 13, 2024
@stephanme stephanme merged commit cc4c61a into cloudfoundry:main Aug 13, 2024
2 checks passed
@gururajsh gururajsh deleted the bpr-claw branch August 13, 2024 13:20
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