Skip to content

Commit

Permalink
Configure release pipeline trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
laurigates committed Dec 8, 2023
1 parent 1eac03f commit 3ade3a0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
12 changes: 6 additions & 6 deletions azure-build-main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
trigger:
batch: true
Expand All @@ -9,15 +9,15 @@ trigger:
exclude:
- README.md

# Pull request (PR) triggers cause a pipeline to run whenever a pull request is
# opened with one of the specified target branches, or when updates are made to
# Pull request (PR) triggers cause a pipeline to run whenever a pull request is
# opened with one of the specified target branches, or when updates are made to
# such a pull request.
#
# GitHub creates a new ref when a pull request is created. The ref points to a
# merge commit, which is the merged code between the source and target branches
# GitHub creates a new ref when a pull request is created. The ref points to a
# merge commit, which is the merged code between the source and target branches
# of the pull request.
#
# Opt out of pull request validation
# Opt out of pull request validation
pr: none

# By default, use self-hosted agents
Expand Down
31 changes: 14 additions & 17 deletions azure-build-release.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
trigger: none
# batch: true
# branches:
# include:
# - main
# # other examples:
# - release/*
# - refs/tags/*
# paths:
# exclude:
# - README.md
trigger:
batch: true
branches:
include:
- refs/tags/v*.*.*
paths:
exclude:
- README.md

# Pull request (PR) triggers cause a pipeline to run whenever a pull request is
# opened with one of the specified target branches, or when updates are made to
# Pull request (PR) triggers cause a pipeline to run whenever a pull request is
# opened with one of the specified target branches, or when updates are made to
# such a pull request.
#
# GitHub creates a new ref when a pull request is created. The ref points to a
# merge commit, which is the merged code between the source and target branches
# GitHub creates a new ref when a pull request is created. The ref points to a
# merge commit, which is the merged code between the source and target branches
# of the pull request.
#
# Opt out of pull request validation
# Opt out of pull request validation
pr: none

# By default, use self-hosted agents
Expand Down

0 comments on commit 3ade3a0

Please sign in to comment.