mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
bfb241d7f3
* Add missing Cumulus licenses * Typo * Add missing Substrate licenses * Single job checking the sub-repos in steps * Remove dates * Remove dates * Add missing (C) * Update FRAME UI tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update more UI tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
name: Check licenses
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
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@v3
|
|
- uses: actions/setup-node@v3.8.1
|
|
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
|