scripts,ci: add check to refuse patch releases on master branch

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-04-02 12:20:24 +02:00
parent 5ab049066f
commit 94ba0388c0
2 changed files with 85 additions and 0 deletions
+4
View File
@@ -212,6 +212,10 @@ jobs:
with:
cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
# This check is done here since it needs git history
- name: verify release
run: node scripts/verify-release.js
- name: lint changed packages
run: yarn backstage-cli repo lint --since origin/master