Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Make Renovate bot ignore forks and remove the SENTR_DSN (#1652)

Krystle Salazar757ed3392309
diff --git a/.github/renovate.json b/.github/renovate.json
index e26e310b2..784d2f8fa 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -24,5 +24,6 @@
".github/workflows/pr_label_check.yml",
".github/workflows/pr_ping.yml",
"package.json"
- ]
+ ],
+ "includeForks": false
}
diff --git a/src/utils/sentry-config.ts b/src/utils/sentry-config.ts
index c808993bb..9a9f64614 100644
--- a/src/utils/sentry-config.ts
+++ b/src/utils/sentry-config.ts
@@ -8,10 +8,10 @@ import type { ModuleConfiguration } from '@nuxtjs/sentry'
* @returns the Sentry configuration to use
*/
export const sentryConfig: ModuleConfiguration = {
- dsn:
- process.env.SENTRY_DSN ||
- 'https://[email protected]/5799642',
- disabled: process.env.DISABLE_SENTRY ? true : !isProd,
+ dsn: process.env.SENTRY_DSN,
+ disabled: process.env.DISABLE_SENTRY
+ ? true
+ : process.env.SENTRY_DSN === undefined || !isProd,
lazy: true,
clientConfig: {
// Only allow errors that come from an actual openverse.engineering subdomain