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

Workflows can break if you ran "Update System Files" against a specific branch #966

Open
jonaswre opened this issue Mar 4, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@jonaswre
Copy link

jonaswre commented Mar 4, 2024

I just realised that you can break your workflows if you "Update System Files" to a branch and then delete that branch.

You wont be able to run any workflows anymore.

https://github.com/byndit-demo/App-B/actions/runs/8137886646

The workaround here is to copy the workflows from another repo and update these locally.

I just thought it might be useful to document that somewhere.

@freddydk
Copy link
Contributor

freddydk commented Mar 4, 2024

The easiest workaround is to recreate the branch and then run update to something else.

@jonaswre
Copy link
Author

jonaswre commented Mar 5, 2024

It's a branch on your repo

@freddydk
Copy link
Contributor

freddydk commented Mar 5, 2024

Which I can easily recreate if you like.
Typically you would only use branches like this for testing a fix (instructed by us) - and if the branch is deleted, we can recreate it.
But... - you are right, we should document this when we instruct people in testing a fix.

@freddydk
Copy link
Contributor

freddydk commented Mar 5, 2024

And... - maybe I should add this to the troubleshooting workflow - test whether the actions branch exist - and describe how to fix it - probably a good idea.

@freddydk freddydk added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants