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

Use a unique branch name each time we generate CRD docs #2397

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

theunrepentantgeek
Copy link
Member

What this PR does / why we need it:

We were having failures generating CRD documentation because the same branch name was being reused.

This wasn't a problem after successful runs of the workflow, as the follow-up PR merge would delete the branch. But when the workflow fails, the old branch was left around to cause mayhem for the next run.

Fix is to use the run_number to make the branch name unique each time.

How does this PR make you feel:
gif

@theunrepentantgeek theunrepentantgeek enabled auto-merge (squash) July 19, 2022 23:57
@theunrepentantgeek theunrepentantgeek merged commit 662579e into main Jul 20, 2022
@theunrepentantgeek theunrepentantgeek deleted the fix/crd-doc-workflow branch July 20, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants