devcontainers / devcontainers/action

Don't use hardcoded branch name in doc generation

Open
#222 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88
Forks
32
PR merge metrics
No merged PRs in 30d

Description

The URL to `devcontainer-template.json` uses a hardcoded path to `main` branch, when in reality not everyone will be using the main branch.

Instead, it should be generated based on the current branch name in context (which could be `master`, `dev`, version numbers, and so on) - AND/OR add an input parameter to override it

https://github.com/devcontainers/action/blob/c40c27d8968de19aa7799e0b5d11d1b19621784b/src/generateDocs.ts#L121

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.