From c8371452f8bbe2cd2f4e159357f59f5104ba11e8 Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Wed, 25 Feb 2026 15:40:36 +0100 Subject: [PATCH 1/9] feat: NX-15190 remove old license_npm.yml --- .github/workflows/license_npm.yml | 36 ------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/license_npm.yml diff --git a/.github/workflows/license_npm.yml b/.github/workflows/license_npm.yml deleted file mode 100644 index a56de44..0000000 --- a/.github/workflows/license_npm.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: License NPM - -on: - push: - branches: - - main - - master - pull_request: - -jobs: - license-check: - runs-on: ubuntu-latest - name: License Check - steps: - - name: Checkout - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Set up Node.js - uses: actions/setup-node@v6 - with: - node-version-file: '.nvmrc' - cache: 'npm' - cache-dependency-path: 'package-lock.json' - - - name: Install dependencies - run: npm install - - - name: Check licenses - run: > - npx license-checker-rseidelsohn - --failOn="${{ vars.FORBIDDEN_LICENSES || 'UNLICENSED' }}" - --excludePrivatePackages - --markdown - >> $GITHUB_STEP_SUMMARY From b07f685804e2cea7c69b7c5f5ef138ae7788f72c Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Wed, 25 Feb 2026 15:40:37 +0100 Subject: [PATCH 2/9] feat: NX-15190 use centralized node license check --- .github/workflows/license_node.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/license_node.yml diff --git a/.github/workflows/license_node.yml b/.github/workflows/license_node.yml new file mode 100644 index 0000000..80db9a2 --- /dev/null +++ b/.github/workflows/license_node.yml @@ -0,0 +1,22 @@ +name: License Node + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + +jobs: + license-check: + runs-on: ubuntu-latest + name: License Check + if: github.event_name != 'pull_request' || (!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP')) + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Run license check + uses: enthus-appdev/actions/node-license-validator@main + with: + forbidden_licenses: ${{ vars.FORBIDDEN_LICENSES }} From db64138637aabfc0053b1fc99d282e704c967977 Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:02:28 +0100 Subject: [PATCH 3/9] fix: NX-15190 update action reference to npm-license-validator --- .github/workflows/license_node.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/license_node.yml b/.github/workflows/license_node.yml index 80db9a2..b2cf3af 100644 --- a/.github/workflows/license_node.yml +++ b/.github/workflows/license_node.yml @@ -17,6 +17,6 @@ jobs: uses: actions/checkout@v6 - name: Run license check - uses: enthus-appdev/actions/node-license-validator@main + uses: enthus-appdev/actions/npm-license-validator@main with: forbidden_licenses: ${{ vars.FORBIDDEN_LICENSES }} From 612b4cd308954ea1d410c590325a6a6e169a3210 Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:03:11 +0100 Subject: [PATCH 4/9] feat: NX-15190 rename to license_npm.yml --- .github/workflows/license_npm.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/license_npm.yml diff --git a/.github/workflows/license_npm.yml b/.github/workflows/license_npm.yml new file mode 100644 index 0000000..b2cf3af --- /dev/null +++ b/.github/workflows/license_npm.yml @@ -0,0 +1,22 @@ +name: License Node + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + +jobs: + license-check: + runs-on: ubuntu-latest + name: License Check + if: github.event_name != 'pull_request' || (!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP')) + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Run license check + uses: enthus-appdev/actions/npm-license-validator@main + with: + forbidden_licenses: ${{ vars.FORBIDDEN_LICENSES }} From d42d26785e28ba701441092642ba898d4f527862 Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:03:12 +0100 Subject: [PATCH 5/9] feat: NX-15190 remove license_node.yml (renamed) --- .github/workflows/license_node.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/license_node.yml diff --git a/.github/workflows/license_node.yml b/.github/workflows/license_node.yml deleted file mode 100644 index b2cf3af..0000000 --- a/.github/workflows/license_node.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: License Node - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - -jobs: - license-check: - runs-on: ubuntu-latest - name: License Check - if: github.event_name != 'pull_request' || (!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP')) - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Run license check - uses: enthus-appdev/actions/npm-license-validator@main - with: - forbidden_licenses: ${{ vars.FORBIDDEN_LICENSES }} From 7dade621bc4ccabe704fb769d701255f15924268 Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:05:10 +0100 Subject: [PATCH 6/9] fix: NX-15190 rename workflow to License NPM --- .github/workflows/license_npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/license_npm.yml b/.github/workflows/license_npm.yml index b2cf3af..fa35202 100644 --- a/.github/workflows/license_npm.yml +++ b/.github/workflows/license_npm.yml @@ -1,4 +1,4 @@ -name: License Node +name: License NPM on: push: From 32c2786b50c0c85e04c723086659b9b494b69181 Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:08:52 +0100 Subject: [PATCH 7/9] fix: NX-15190 rename workflow to License NPM --- .github/workflows/license_npm.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/license_npm.yml b/.github/workflows/license_npm.yml index fa35202..558d96d 100644 --- a/.github/workflows/license_npm.yml +++ b/.github/workflows/license_npm.yml @@ -7,6 +7,11 @@ on: pull_request: types: [opened, synchronize, reopened, ready_for_review] +# Cancel old runs when new commit pushed to PR +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: license-check: runs-on: ubuntu-latest From 6e8efc8e74db658f0a419292e6cf80e959c77ad6 Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:10:39 +0100 Subject: [PATCH 8/9] fix: NX-15190 rename workflow to License NPM --- .github/workflows/license_npm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/license_npm.yml b/.github/workflows/license_npm.yml index 558d96d..eca73e2 100644 --- a/.github/workflows/license_npm.yml +++ b/.github/workflows/license_npm.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - master pull_request: types: [opened, synchronize, reopened, ready_for_review] From 835dd512605f50c63b23bdce712b598b4e49999d Mon Sep 17 00:00:00 2001 From: Jasmin D <60732612+smini-digital@users.noreply.github.com> Date: Thu, 26 Feb 2026 15:51:13 +0100 Subject: [PATCH 9/9] fix: remove WIP title check, rely on draft status only --- .github/workflows/license_npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/license_npm.yml b/.github/workflows/license_npm.yml index eca73e2..d7f8983 100644 --- a/.github/workflows/license_npm.yml +++ b/.github/workflows/license_npm.yml @@ -17,7 +17,7 @@ jobs: license-check: runs-on: ubuntu-latest name: License Check - if: github.event_name != 'pull_request' || (!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'WIP')) + if: github.event_name != 'pull_request' || !github.event.pull_request.draft steps: - name: Checkout uses: actions/checkout@v6