Skip to content

Commit

Permalink
Fix condition on dependabot MergePRs job
Browse files Browse the repository at this point in the history
Need to explicitly set Depends on in order for
variable reference in condition to work
  • Loading branch information
NickGraham101 committed Apr 4, 2024
1 parent 96bcfc1 commit d5a4a52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AzureDevOpsTemplates/Build/StageTemplates/dependabot-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ stages:
condition: or(and(eq(dependencies.RunDependabot.outputs['CheckScheduleName.RunDependabot'], 'true'), succeeded()), ${{ parameters.RunMergePRManually }})
${{ if parameters.RunMergePRManually }}:
dependsOn: []
${{ else }}:
dependsOn: RunDependabot
timeoutInMinutes: 0
steps:
- checkout: self
Expand Down

0 comments on commit d5a4a52

Please sign in to comment.