File tree Expand file tree Collapse file tree 2 files changed +28
-28
lines changed Expand file tree Collapse file tree 2 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 1- ---
2- name : " Cleanup stale Atlas test environments"
3- on :
4- workflow_dispatch :
5- schedule :
6- - cron : " 0 0 * * *"
7-
8- permissions : {}
9-
10- jobs :
11- cleanup-envs :
12- runs-on : ubuntu-latest
13- steps :
14- - uses : GitHubSecurityLab/actions-permissions/monitor@v1
15- - uses : actions/checkout@v5
16- - uses : actions/setup-node@v5
17- with :
18- node-version-file : package.json
19- cache : " npm"
20- - name : Install dependencies
21- run : npm ci
22- - name : Run cleanup script
23- env :
24- MDB_MCP_API_CLIENT_ID : ${{ secrets.TEST_ATLAS_CLIENT_ID }}
25- MDB_MCP_API_CLIENT_SECRET : ${{ secrets.TEST_ATLAS_CLIENT_SECRET }}
26- MDB_MCP_API_BASE_URL : ${{ vars.TEST_ATLAS_BASE_URL }}
27- run : npm run atlas:cleanup
1+ ---
2+ name : " Cleanup stale Atlas test environments"
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 0 0 * * *"
7+
8+ permissions : {}
9+
10+ jobs :
11+ cleanup-envs :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : GitHubSecurityLab/actions-permissions/monitor@v1
15+ - uses : actions/checkout@v5
16+ - uses : actions/setup-node@v5
17+ with :
18+ node-version-file : package.json
19+ cache : " npm"
20+ - name : Install dependencies
21+ run : npm ci
22+ - name : Run cleanup script
23+ env :
24+ MDB_MCP_API_CLIENT_ID : ${{ secrets.TEST_ATLAS_CLIENT_ID }}
25+ MDB_MCP_API_CLIENT_SECRET : ${{ secrets.TEST_ATLAS_CLIENT_SECRET }}
26+ MDB_MCP_API_BASE_URL : ${{ vars.TEST_ATLAS_BASE_URL }}
27+ run : npm run atlas:cleanup
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ async function main(): Promise<void> {
5757 const apiClient = new ApiClient (
5858 {
5959 baseUrl : process . env . MDB_MCP_API_BASE_URL || "https://cloud-dev.mongodb.com" ,
60- credentials : {
60+ credentials : {
6161 clientId : process . env . MDB_MCP_API_CLIENT_ID || "" ,
6262 clientSecret : process . env . MDB_MCP_API_CLIENT_SECRET || "" ,
6363 } ,
You can’t perform that action at this time.
0 commit comments