Kaynağa Gözat

ci: stop running the build and release pipeline for release tags

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jamesread 20 saat önce
ebeveyn
işleme
c959fbaf88
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      .github/workflows/build-and-release.yml

+ 3 - 2
.github/workflows/build-and-release.yml

@@ -26,9 +26,10 @@ on:
       - 'var/sbom/**'
       - 'var/sbom/**'
       - 'var/windows/**'
       - 'var/windows/**'
   workflow_dispatch:
   workflow_dispatch:
+  # No tag trigger: semantic-release publishes from the main branch push and
+  # pushes the tag with CONTAINER_TOKEN, which would otherwise start a second
+  # run of the same commit that cannot publish anything.
   push:
   push:
-    tags:
-      - '*'
     branches:
     branches:
       - main
       - main
       - next
       - next