ci: run version-change check only for PRs and main pushes (allow dev pushes)
Some checks failed
Code Analysis and Production Deploy / analyze (push) Successful in 2m47s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 1m58s
Code Analysis and Production Deploy / analyze (pull_request) Failing after 12s
Require Package Version Change / check (pull_request) Failing after 9s
Code Analysis and Production Deploy / deploy-production (pull_request) Has been skipped
Code Analysis and Production Deploy / deploy-test (pull_request) Has been skipped

This commit is contained in:
Torsten Schulz (local)
2026-05-20 12:56:40 +02:00
parent 549f4a1510
commit 2fab6be58a

View File

@@ -32,6 +32,7 @@ jobs:
npm -v
- name: Check package.json version changed
if: "github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main')"
run: scripts/check-package-version-changed.sh origin/main
- name: Check version against production (PRs only)