This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Approve multiple candidates with a single signature #3970
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check licenses | |
on: | |
pull_request: | |
jobs: | |
check-licenses: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: actions/[email protected] | |
with: | |
node-version: '18.x' | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@paritytech' | |
- name: Check the licenses | |
run: | | |
shopt -s globstar | |
npx @paritytech/[email protected] scan \ | |
--ensure-licenses=Apache-2.0 \ | |
--ensure-licenses=GPL-3.0-only \ | |
./**/*.rs | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |