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
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user