Skip to content

Can an Action workflow block codespace creation? #121139

Discussion options

You must be logged in to vote

Hey there @christianh814!

While there is no native feature to do something like that, there are a few options you could use as workarounds. One option is to create the template repo without the .devcontainer file in it (or at least not in the correct place of the repo). Then, your "get everything ready" action could have it do all the stuff it is doing now, and then create/move the .devontainer files into a state that ia needed to support starting a codespace.

This would NOT block codespace creation until the action completes (aka you could create your own config).

That said, perhaps it makes more sense to have the default README.md indicate that the repo isn't ready for codespace creatio…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by grandmas-favorite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
2 participants