devcontainers / templates

Repository for Dev Container Templates that are managed by Dev Container spec maintainers. See https://github.com/devcontainers/template-starter to create your own!
https://containers.dev/templates
MIT License
1.02k stars 262 forks source link

Seed templates with `dependabot.yml` #231

Closed joshspicer closed 10 months ago

joshspicer commented 10 months ago

Given https://containers.dev/guide/dependabot is now GA, make it as easy as possible for folks to stay up-to-date with Feature updates with Dependabot!

refs: https://github.com/github/codespaces/issues/15875,https://github.com/dependabot/dependabot-core/issues/7000,https://github.com/dependabot/dependabot-core/issues/7000

I recognize it's opinionated to add a .github folder, but given the tight integration with dependabot here (without community alternatives at the moment) I think it's OK. Please feel free to share your thoughts in a discussion (and we're open to considering other additions to these templates if it highly enriches the experience on other platforms!)

joshspicer commented 10 months ago

However, if the community don't like automatic addition of yml, then we can think about updating the VS Code UX with a new prompt.

Agreed! I don't think we currently support excluding files through the VS Code prompt flow, so that's a nice feature to consider and then include here!

We do already a mechanism in place to exclude the metadata files, but this runs too early https://github.com/devcontainers/cli/blob/e12c2800fdbca85cf48cdfa6d3499862526c2ddb/src/spec-configuration/containerTemplatesOCI.ts#L49