Improve code analyzer for independent packages, CI: only run release-check on push to main

This commit is contained in:
quotentiroler
2026-02-09 19:57:13 -08:00
parent 0c7bc303c9
commit 5c62e4d51b
2 changed files with 294 additions and 161 deletions

View File

@@ -145,10 +145,10 @@ jobs:
path: dist/
retention-days: 1
# Validate npm pack contents after build.
# Validate npm pack contents after build (only on push to main, not PRs).
release-check:
needs: [docs-scope, build-artifacts]
if: needs.docs-scope.outputs.docs_only != 'true'
if: github.event_name == 'push' && needs.docs-scope.outputs.docs_only != 'true'
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Checkout