Skip to content

Commit 81bf2ed

Browse files
Merge pull request #114 from kevinbackhouse/rename-env-var
Rename GITHUB_PERSONAL_ACCESS_TOKEN to GH_TOKEN
2 parents 5f3b2ea + f9e4eae commit 81bf2ed

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.devcontainer/post-attach.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ if [ -v CODESPACES ]; then
77
if [ ! -v AI_API_TOKEN ]; then
88
echo "⚠️ Running in Codespaces - please add AI_API_TOKEN to your Codespaces secrets"
99
fi
10-
if [ ! -v GITHUB_PERSONAL_ACCESS_TOKEN ]; then
11-
echo "⚠️ Running in Codespaces - please add GITHUB_PERSONAL_ACCESS_TOKEN to your Codespaces secrets"
10+
if [ ! -v GH_TOKEN ]; then
11+
echo "⚠️ Running in Codespaces - please add GH_TOKEN to your Codespaces secrets"
1212
fi
1313
fi
1414

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Example:
4646
# Tokens
4747
AI_API_TOKEN=<your_github_token>
4848
# MCP configs
49-
GITHUB_PERSONAL_ACCESS_TOKEN=<your_github_token>
49+
GH_TOKEN=<your_github_token>
5050
CODEQL_DBS_BASE_PATH="/app/my_data/codeql_databases"
5151
```
5252

docker/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ touch -a .env
1919

2020
docker run -i \
2121
--mount type=bind,src="$PWD",dst=/app \
22-
-e GITHUB_PERSONAL_ACCESS_TOKEN="$GITHUB_PERSONAL_ACCESS_TOKEN" \
22+
-e GH_TOKEN="$GH_TOKEN" \
2323
-e AI_API_TOKEN="$AI_API_TOKEN" \
2424
"ghcr.io/githubsecuritylab/seclab-taskflow-agent" "$@"

0 commit comments

Comments
 (0)