diff --git a/azure-build-release.yml b/azure-build-release.yml index ea5b886..e108442 100644 --- a/azure-build-release.yml +++ b/azure-build-release.yml @@ -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