Skip to content

Commit 8fd7177

Browse files
Add GH CLI to devcontainer, use the customizations field, turn on dependabot for devcontainers. (#3519)
1 parent 1421299 commit 8fd7177

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
"name": "TypeScript Website codespace",
33
"dockerFile": "Dockerfile",
44

5+
"features": {
6+
"ghcr.io/devcontainers/features/github-cli": "latest",
7+
},
8+
59
// Set *default* container specific settings.json values on container create.
6-
"settings": {
7-
"terminal.integrated.shell.linux": "/bin/bash"
10+
"customizations": {
11+
"vscode": {
12+
"settings": {
13+
"terminal.integrated.shell.linux": "/bin/bash"
14+
}
15+
}
816
},
917

1018
"forwardPorts": [8000],

.github/dependabot.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# To get started with Dependabot version updates, you'll need to specify which
22
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
3+
# Please see the documentation for more information:
44
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
56

67
version: 2
78
updates:
@@ -13,3 +14,9 @@ updates:
1314
github-actions:
1415
patterns:
1516
- '*'
17+
18+
- package-ecosystem: 'devcontainers'
19+
directory: '/'
20+
schedule:
21+
interval: weekly
22+

0 commit comments

Comments
 (0)