Merge pull request 'ci: disable PR version-gate; use prod-version check on main' (#27) from dev into main
Some checks failed
Code Analysis and Production Deploy / analyze (push) Failing after 16s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Has been skipped

Reviewed-on: #27
This commit is contained in:
2026-05-20 16:11:57 +02:00
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"