Skip to content

Bump lycheeverse/lychee-action from 2ac9f030ccdea0033e2510a23a67da2a2da98492 to 1e92115388e88fdc331019d99c8ab8dfe97ddd13 #18

Bump lycheeverse/lychee-action from 2ac9f030ccdea0033e2510a23a67da2a2da98492 to 1e92115388e88fdc331019d99c8ab8dfe97ddd13

Bump lycheeverse/lychee-action from 2ac9f030ccdea0033e2510a23a67da2a2da98492 to 1e92115388e88fdc331019d99c8ab8dfe97ddd13 #18

Workflow file for this run

name: Check licenses
on:
pull_request:
merge_group:
permissions:
packages: read
jobs:
check-licenses:
runs-on: ubuntu-22.04
env:
LICENSES: "'Apache-2.0' 'GPL-3.0-only' 'GPL-3.0-or-later WITH Classpath-exception-2.0'"
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@v4.0.0
with:
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
scope: "@paritytech"
- name: Check the licenses in Polkadot
run: |
shopt -s globstar
npx @paritytech/license-scanner scan \
--ensure-licenses ${{ env.LICENSES }} \
-- ./polkadot/**/*.rs
- name: Check the licenses in Cumulus
run: |
shopt -s globstar
npx @paritytech/license-scanner scan \
--ensure-licenses ${{ env.LICENSES }} \
--exclude ./cumulus/parachain-template \
-- ./cumulus/**/*.rs
- name: Check the licenses in Substrate
run: |
shopt -s globstar
npx @paritytech/license-scanner scan \
--ensure-licenses ${{ env.LICENSES }} \
--exclude ./substrate/bin/node-template \
-- ./substrate/**/*.rs