ci: disable PR version-gate; use prod-version check on main
All checks were successful
Code Analysis and Production Deploy / analyze (push) Successful in 2m42s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 1m57s

This commit is contained in:
Torsten Schulz (local)
2026-05-20 16:08:09 +02:00
parent 79e2ae9b87
commit f7c6caebc1
2 changed files with 12 additions and 16 deletions

View File

@@ -30,9 +30,14 @@ jobs:
node -v
npm -v
- name: Check package.json version changed
- name: Check package.json version vs production
if: "github.ref == 'refs/heads/main'"
run: scripts/check-package-version-changed.sh origin/main
env:
PROD_HOST: ${{ vars.PROD_HOST }}
PROD_USER: ${{ vars.PROD_USER }}
PROD_PORT: ${{ vars.PROD_PORT }}
PROD_SSH_KEY: ${{ secrets.PROD_SSH_KEY }}
run: scripts/check-version-against-prod.sh
- name: gitleaks (Secrets Scanning)
run: |

View File

@@ -1,20 +1,11 @@
name: Require Package Version Change
name: Require Package Version Change (disabled)
on:
pull_request:
branches: [ main ]
workflow_dispatch: {}
jobs:
check:
noop:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Check package.json version changed
run: scripts/check-package-version-changed.sh origin/main
- name: Disabled
run: echo "version-gate workflow disabled — gating is handled in code-analysis.yml"