diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml index 39104c3a4a81..27d25dc7d959 100644 --- a/.github/workflows/check-licenses.yml +++ b/.github/workflows/check-licenses.yml @@ -11,14 +11,14 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-node@v3.8.1 with: - node-version: '18.x' - registry-url: 'https://npm.pkg.github.com' - scope: '@paritytech' + node-version: "18.x" + registry-url: "https://npm.pkg.github.com" + scope: "@paritytech" - name: Check the licenses run: | shopt -s globstar - npx --yes https://github.com/paritytech/license-scanner scan \ + npx @paritytech/license-scanner@0.0.5 scan \ --ensure-licenses=Apache-2.0 \ --ensure-licenses=GPL-3.0-only \ ./**/*.rs