Conditions in azure pipelines you didn't know you needed.
#To run only for Pull requests ( to do the inverse use 'ne' instead of 'eq')
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
#To run when the Pull request is merged.
condition: and(succeeded(), startsWith(variables['Build....
arsalanz.hashnode.dev1 min read