Skip to content

Commit 5ca4358

Browse files
committed
chore: formatting
1 parent 6bb0921 commit 5ca4358

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed
Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
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

scripts/cleanupAtlasTestLeftovers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)