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 documentation workflow always trying to commit #2 #21254

Merged
merged 1 commit into from Dec 13, 2023

Conversation

penev92
Copy link
Member

@penev92 penev92 commented Dec 13, 2023

A continuation of #21232.
Will hopefully fix https://github.com/OpenRA/OpenRA/actions/runs/7187570268

I know adding git status makes no sense, but a bunch of experimenting with @tinix0 on Discord and my fork showed this magically makes it work, so 🤷‍♂️
with nothing to commit: https://github.com/penev92/OpenRA/actions/runs/7200288884
with something to commit: https://github.com/penev92/OpenRA/actions/runs/7200308019

Don't try to commit and push if there is nothing to commit, because git will exit with 1, failing the workflow.
A continuation of ca6b87d.
@penev92 penev92 merged commit 02d31a2 into OpenRA:bleed Dec 13, 2023
3 checks passed
@penev92 penev92 deleted the fixDocumentationWorkflow3 branch December 13, 2023 21:13
@penev92
Copy link
Member Author

penev92 commented Dec 13, 2023

Changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants