Skip to content

Commit

Permalink
[DOP-4294]: Mask secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
branberry committed Jan 24, 2024
1 parent 06a1e9f commit da369b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/rebuild-parse-cache/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/rebuild-parse-cache/src/get-repos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ async function getMongoClient({
MONGO_ATLAS_HOST,
}: Record<string, string>): Promise<MongoClient> {
const atlasUrl = `mongodb+srv://${MONGO_ATLAS_USERNAME}:${MONGO_ATLAS_PASSWORD}@${MONGO_ATLAS_HOST}/admin?retryWrites=true`;
core.setSecret(atlasUrl);
const client = new MongoClient(atlasUrl);
try {
const connectedClient = await client.connect();
Expand Down

0 comments on commit da369b7

Please sign in to comment.