GitHub's template repo feature currently has no way to prevent new repos created from the template from including certain files.
As a result, as soon as a new repo is created from this template repo, the Publish devcontainer workflow runs immediately in the new repo, which is useless. See this example from the slackronyms repo I just created.
It's not obvious to me what the ideal solution is. I guess some kind of conditional in the publish-devcontainer.yml file that will only run it if the repo in question is compilerla/template-devcontainer? Or another option would be to make it only run when manually triggered, not on any push to main, if we don't mind having to remember that each time we merge a PR.
Not directly related, but I'm curious as to why 12 untagged images also get created in addition to the three that are tagged for the supported Python versions. Screenshotting because I'm about to delete all of these:
It looks like this is also happens here in this repo, though.
Maybe warrants a separate issue if this isn't expected behavior.
GitHub's template repo feature currently has no way to prevent new repos created from the template from including certain files.
As a result, as soon as a new repo is created from this template repo, the Publish devcontainer workflow runs immediately in the new repo, which is useless. See this example from the slackronyms repo I just created.
It's not obvious to me what the ideal solution is. I guess some kind of conditional in the
publish-devcontainer.ymlfile that will only run it if the repo in question is compilerla/template-devcontainer? Or another option would be to make it only run when manually triggered, not on any push tomain, if we don't mind having to remember that each time we merge a PR.Not directly related, but I'm curious as to why 12 untagged images also get created in addition to the three that are tagged for the supported Python versions. Screenshotting because I'm about to delete all of these:
It looks like this is also happens here in this repo, though.
Maybe warrants a separate issue if this isn't expected behavior.