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 Oct 4, 2024
1 parent 7cf50b1 commit 869487f
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 869487f

Please sign in to comment.