Skip to content

Commit

Permalink
Only trigger for main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ups216 committed Mar 10, 2023
1 parent 971a657 commit 9465886
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ resources:
type: git
ref: refs/heads/main

trigger:
branches:
include:
- main

stages:
- stage: Sync2GitHub
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
Expand Down

0 comments on commit 9465886

Please sign in to comment.