Azure devops pipeline triggers for abandoned PR

Viewed 121

I'm working on an Azure devops pipeline and I already have two triggers in place. One for running on a Pull Request and one for running on Master

- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:

- ${{ if eq(variables['Build.SourceBranchName'], 'master') }}:

I need a trigger for when I abandon a PR to run a cleanup step.

Is there a trigger for abandoned PRs?

0 Answers
Related