File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 "ghcr.io/devcontainers/features/sshd:1" : {
2424 "version" : " latest"
2525 }
26+ },
27+ "customizations" : {
28+ "codespaces" : {
29+ "repositories" : {
30+ "github/gh-runtime-cli" : {
31+ "permissions" : {
32+ "contents" : " read" ,
33+ "packages" : " read"
34+ }
35+ }
36+ }
37+ }
2638 }
2739 }
2840
Original file line number Diff line number Diff line change @@ -12,6 +12,18 @@ echo "Installing the GitHub CLI"
1212 && sudo apt update \
1313 && sudo apt install gh inotify-tools -y
1414
15+ echo " Installing the GitHub CLI Runtime extension"
16+ # if the GITHUB_USER is monalisa, then install the plugin from the local folder
17+ if [ " $GITHUB_USER " = " monalisa" ]; then
18+ cd ./gh-runtime-cli
19+ gh extension install .
20+ else
21+ gh extension install github/gh-runtime-cli
22+ fi
23+
24+ echo " Adding an alias for the GitHub CLI Runtime extension"
25+ gh alias set runtime runtime-cli
26+
1527echo " Downloading the latest release of workbench-template from GitHub"
1628
1729GITHUB_PAT=" $RELEASE_PAT "
You can’t perform that action at this time.
0 commit comments