Skip to content

Commit 1c18b85

Browse files
committed
add gh cli
1 parent 529eb91 commit 1c18b85

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ RUN echo 'eval "$(pixi completion -s bash)"' >> /home/vscode/.bashrc \
1717

1818
# Create .ssh directory with proper permissions for SSH config mounts
1919
RUN mkdir -p /home/vscode/.ssh && chmod 700 /home/vscode/.ssh
20+
21+
# Create .config/gh directory for GitHub CLI config mounts
22+
RUN mkdir -p /home/vscode/.config/gh

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"mounts": [
3939
"source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume",
4040
"source=${localEnv:HOME}/.ssh/known_hosts,target=/home/vscode/.ssh/known_hosts,type=bind,ro",
41-
"source=${localEnv:HOME}/.ssh/config,target=/home/vscode/.ssh/config,type=bind,ro"
41+
"source=${localEnv:HOME}/.ssh/config,target=/home/vscode/.ssh/config,type=bind,ro",
42+
"source=${localEnv:HOME}/.config/gh,target=/home/vscode/.config/gh,type=bind"
4243
],
4344
"postCreateCommand": "sudo chown vscode .pixi && pixi install"
4445
}

pixi.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ platforms = ["linux-64"]
2020
python = ">=3.10"
2121
shellcheck = ">=0.10.0,<0.11"
2222
devpod = ">=0.8.0,<0.9"
23+
gh = ">=2.63.0"
2324

2425
[tool.pixi.feature.py310.dependencies]
2526
python = "3.10.*"

0 commit comments

Comments
 (0)