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

chore: update workflow to use branch instead of main #6109

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

alicejli
Copy link
Contributor

Workflow failing: https://github.com/googleapis/java-cloud-bom/actions/runs/5648078883/job/15299506022 due to branch protection rules on main:

remote: error: GH006: Protected branch update failed for refs/heads/main.        
remote: error: Changes must be made through a pull request. 8 of 8 required status checks are expected.        
To https://github.com/googleapis/java-cloud-bom
 ! [remote rejected] main -> main (protected branch hook declined)
error: failed to push some refs to 'https://github.com/googleapis/java-cloud-bom'

This updates the workflow to push the PR from a separate branch.

@alicejli alicejli requested a review from a team as a code owner July 24, 2023 20:15
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Jul 24, 2023
@alicejli alicejli merged commit d73ba24 into main Jul 25, 2023
20 checks passed
@alicejli alicejli deleted the updateWorkflowBranch branch July 25, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants