trying several things to correct the PAT inclusion. things are broken and I'm trying to resolve that.

This commit is contained in:
GitHub Copilot
2025-05-08 08:38:05 -04:00
parent a58c60c437
commit 96c8bfe9de
2 changed files with 43 additions and 27 deletions

View File

@@ -68,7 +68,7 @@
"command": "bash",
"args": [
"-c",
"source ${containerWorkspaceFolder}/.devcontainer/library-scripts/load-env.sh && docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=\"$GITHUB_PERSONAL_ACCESS_TOKEN\" ghcr.io/github/github-mcp-server"
"source ${containerWorkspaceFolder}/.devcontainer/library-scripts/load-env.sh && if [ -n \"${GITHUB_PERSONAL_ACCESS_TOKEN}\" ]; then docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN=\"${GITHUB_PERSONAL_ACCESS_TOKEN}\" ghcr.io/github/github-mcp-server; else echo 'Error: GITHUB_PERSONAL_ACCESS_TOKEN not set' >&2; exit 1; fi"
],
"env": {}
}