Skip to content

Commit

Permalink
run for each repo
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Aug 28, 2023
1 parent 5088155 commit 3a3c8d6
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/check-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,26 @@ jobs:
shopt -s globstar
echo "install"
npm install -g @paritytech/[email protected]
echo "run"
echo "run for cumulus"
cd cumulus
npx @paritytech/license-scanner scan \
--ensure-licenses=Apache-2.0 \
--ensure-licenses=GPL-3.0-only \
"./substrate/bin/node-template/node/src/chain_spec.rs"
# npx @paritytech/license-scanner scan \
# --ensure-licenses=Apache-2.0 \
# --ensure-licenses=GPL-3.0-only \
# ./**/*.rs
./**/*.rs
cd ..
echo "run for polkadot"
cd polkadot
npx @paritytech/license-scanner scan \
--ensure-licenses=Apache-2.0 \
--ensure-licenses=GPL-3.0-only \
./**/*.rs
cd ..
echo "run for substrate"
cd substrate
npx @paritytech/license-scanner scan \
--ensure-licenses=Apache-2.0 \
--ensure-licenses=GPL-3.0-only \
./**/*.rs
cd ..
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3a3c8d6

Please sign in to comment.