From 3a2f1de3240959b76cb2c359396da14e287e07e4 Mon Sep 17 00:00:00 2001 From: Dmitriy Vasyura Date: Fri, 27 Nov 2026 04:14:58 -0800 Subject: [PATCH] ci: limit publish APIScan to main and release branches Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/publish.yml b/publish.yml index 7c89a7964..dd1ac077c 100644 --- a/publish.yml +++ b/publish.yml @@ -99,6 +99,7 @@ extends: tag: beta publishRequiresApproval: false + skipAPIScan: ${{ not(or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))) }} apiScanExcludes: | package/third_party/conpty/**/win10-arm64/*.* package/prebuilds/win32-arm64/conpty/*.*