From 2a4fea538b72bb0b22f114170c196798bb22d9df Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 8 May 2026 11:13:51 +0000 Subject: [PATCH] Publish snapshot on any non-PR run, not just push events Replaces the positive `push` check with a negative `pull_request` exclusion so workflow_dispatch and release triggers also publish the snapshot when the package job succeeds. https://claude.ai/code/session_01XkYMtHTs5PKue1mm8a8sfE --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e5fdd710..cb23fb2b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -590,7 +590,7 @@ jobs: publish-snapshot: name: Publish Snapshot to GitHub Releases and GitHub Packages needs: [ package ] - if: github.event_name == 'push' && needs.package.result == 'success' + if: github.event_name != 'pull_request' && needs.package.result == 'success' runs-on: ubuntu-latest permissions: contents: write