Skip to content

Commit

Permalink
chore: skip ReportPortal integration for Dependabot PRs (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeldhis2 authored and jenniferarnesen committed Oct 8, 2024
1 parent 8ece9cc commit 7a618f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ const reportPortalConfig = [
},
]

const isDependabotPR = process.env.GITHUB_ACTOR === 'dependabot[bot]'

const isReportPortalSetup =
process.env.REPORTPORTAL_API_KEY !== undefined &&
process.env.REPORTPORTAL_ENDPOINT !== undefined &&
process.env.REPORTPORTAL_PROJECT !== undefined
process.env.REPORTPORTAL_PROJECT !== undefined &&
!isDependabotPR

module.exports = {
transformIgnorePatterns: [
Expand Down

0 comments on commit 7a618f0

Please sign in to comment.