mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-08 15:57:21 +00:00
48415ce2a7
* [ci] Add experimental feature in tests and cargo check * fix labels GHA * disable D-labels * add check license * add auto-label-issues * fix CHECK_SPECS for labels * rm useless commands * Update .github/workflows/check-labels.yml * fix * Fudge license scanner * remove spellcheck job --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
27 lines
666 B
YAML
27 lines
666 B
YAML
name: Check licenses
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
check-licenses:
|
|
runs-on: ubuntu-22.04
|
|
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
|
|
run: |
|
|
shopt -s globstar
|
|
|
|
npx --yes https://github.com/paritytech/license-scanner scan \
|
|
--ensure-licenses=Apache-2.0 \
|
|
--ensure-licenses=GPL-3.0-only \
|
|
./**/*.rs
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|