File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
seclab_taskflows/mcp_servers Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 44# If running in Codespaces, check for necessary secrets and print error if missing
55if [ -v CODESPACES ]; then
66 echo " 🔐 Running in Codespaces - injecting secrets from Codespaces settings..."
7- if [ ! -v COPILOT_TOKEN ]; then
8- echo " ⚠️ Running in Codespaces - please add COPILOT_TOKEN to your Codespaces secrets"
7+ if [ ! -v AI_API_TOKEN ]; then
8+ echo " ⚠️ Running in Codespaces - please add AI_API_TOKEN to your Codespaces secrets"
99 fi
1010 if [ ! -v GITHUB_PERSONAL_ACCESS_TOKEN ]; then
1111 echo " ⚠️ Running in Codespaces - please add GITHUB_PERSONAL_ACCESS_TOKEN to your Codespaces secrets"
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ mkdir -p data
1010
1111docker run -i \
1212 --mount type=bind,src=" $PWD " ,dst=/app \
13- -e GITHUB_PERSONAL_ACCESS_TOKEN=" $GITHUB_PERSONAL_ACCESS_TOKEN " -e COPILOT_TOKEN =" $COPILOT_TOKEN " " ghcr.io/githubsecuritylab/seclab-taskflow-agent" " $@ "
13+ -e GITHUB_PERSONAL_ACCESS_TOKEN=" $GITHUB_PERSONAL_ACCESS_TOKEN " -e AI_API_TOKEN =" $AI_API_TOKEN " " ghcr.io/githubsecuritylab/seclab-taskflow-agent" " $@ "
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def __repr__(self):
4747
4848GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('GITHUB_PERSONAL_ACCESS_TOKEN' , default = '' )
4949if not GITHUB_PERSONAL_ACCESS_TOKEN :
50- GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('COPILOT_TOKEN ' )
50+ GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('AI_API_TOKEN ' )
5151
5252ACTIONS_DB_DIR = Path (os .getenv ('ACTIONS_DB_DIR' , default = '/app/my_data' ))
5353
Original file line number Diff line number Diff line change 2727
2828GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('GITHUB_PERSONAL_ACCESS_TOKEN' , default = '' )
2929if not GITHUB_PERSONAL_ACCESS_TOKEN :
30- GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('COPILOT_TOKEN ' )
30+ GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('AI_API_TOKEN ' )
3131
3232CODEQL_DBS_BASE_PATH = Path (os .getenv ('CODEQL_DBS_BASE_PATH' , default = '/app/my_data' ))
3333
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def __repr__(self):
4444
4545GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('GITHUB_PERSONAL_ACCESS_TOKEN' , default = '' )
4646if not GITHUB_PERSONAL_ACCESS_TOKEN :
47- GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('COPILOT_TOKEN ' )
47+ GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('AI_API_TOKEN ' )
4848
4949SEARCH_RESULT_DIR = Path (os .getenv ('SEARCH_RESULTS_DIR' , default = '/app/my_data' ))
5050
Original file line number Diff line number Diff line change 2424
2525GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('GITHUB_PERSONAL_ACCESS_TOKEN' )
2626if not GITHUB_PERSONAL_ACCESS_TOKEN :
27- GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('COPILOT_TOKEN ' )
27+ GITHUB_PERSONAL_ACCESS_TOKEN = os .getenv ('AI_API_TOKEN ' )
2828
2929LOCAL_GH_DIR = Path (os .getenv ('LOCAL_GH_DIR' , default = '/app/my_data' ))
3030
You can’t perform that action at this time.
0 commit comments