Skip to content

Commit

Permalink
connectors-ci: do not run VersionCheck on nightlies (#26954)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed Jun 2, 2023
1 parent 31879f0 commit 4aa76a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def validate(self) -> StepResult:
async def _run(self) -> StepResult:
if not self.should_run:
return StepResult(self, status=StepStatus.SKIPPED, stdout="No modified files required a version bump.")
if self.context.ci_context is CIContext.MASTER:
if self.context.ci_context in [CIContext.MASTER, CIContext.NIGHTLY_BUILDS]:
return StepResult(self, status=StepStatus.SKIPPED, stdout="Version check are not running in master context.")
try:
return self.validate()
Expand Down

0 comments on commit 4aa76a4

Please sign in to comment.