AL-Go icon indicating copy to clipboard operation
AL-Go copied to clipboard

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

Open jonaswre opened this issue 1 year ago • 4 comments

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.

jonaswre avatar Mar 04 '24 09:03 jonaswre

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

freddydk avatar Mar 04 '24 10:03 freddydk

It's a branch on your repo

jonaswre avatar Mar 05 '24 06:03 jonaswre

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 avatar Mar 05 '24 06:03 freddydk

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 avatar Mar 05 '24 06:03 freddydk