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> {
57
57
const apiClient = new ApiClient (
58
58
{
59
59
baseUrl : process . env . MDB_MCP_API_BASE_URL || "https://cloud-dev.mongodb.com" ,
60
- credentials : {
60
+ credentials : {
61
61
clientId : process . env . MDB_MCP_API_CLIENT_ID || "" ,
62
62
clientSecret : process . env . MDB_MCP_API_CLIENT_SECRET || "" ,
63
63
} ,
You can’t perform that action at this time.
0 commit comments