JoshuaKGoldberg / JoshuaKGoldberg/create-typescript-app

🚀 Feature: Add VsCode config git.branchProtection

Open
#2,336 6 comments 0 reactions 0 assignees View on GitHub
status: blocked status: in discussion type: feature
Dominant language
TypeScript
Stars
1.4k
Forks
89
Avg merge
1m
Merged PRs (30d)
3

Description

### Feature Request Checklist

- [x] I have looked at the latest version of the project.
- [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue.

### Overview

Adding a git.branchProtection to the settings.json config for vscode gives a visual indicator(🔒) in VsCode that a branch is protected.
```jsonc
// settings.json
"git.branchProtection": [
"main"
]
```

### Additional Info

This doesn't replace the need to add branch protections in github. It only provides a nice visual indication.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.