-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ankan/fix-np-reward-deficit
- Loading branch information
Showing
1,607 changed files
with
11,992 additions
and
13,303 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: 2 | ||
updates: | ||
# Update github actions: | ||
- package-ecosystem: github-actions | ||
directory: '/' | ||
labels: ["A1-insubstantial", "R0-silent"] | ||
schedule: | ||
interval: daily | ||
# Update Rust dependencies: | ||
- package-ecosystem: "cargo" | ||
directory: "/" | ||
labels: ["A1-insubstantial", "R0-silent"] | ||
schedule: | ||
interval: "daily" | ||
groups: | ||
# We assume these crates to be semver abiding and can therefore group them together. | ||
known_good_semver: | ||
patterns: | ||
- "syn" | ||
- "quote" | ||
- "log" | ||
- "paste" | ||
- "*serde*" | ||
- "clap" | ||
update-types: | ||
- "minor" | ||
- "patch" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,9 @@ permissions: | |
jobs: | ||
check-licenses: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
repo: [polkadot, substrate, cumulus] | ||
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 | ||
|
@@ -21,16 +20,26 @@ jobs: | |
node-version: "18.x" | ||
registry-url: "https://npm.pkg.github.com" | ||
scope: "@paritytech" | ||
- name: Check the licenses for ${{ matrix.repo }} | ||
|
||
- name: Check the licenses in Polkadot | ||
run: | | ||
shopt -s globstar | ||
echo "install" | ||
npm install -g @paritytech/[email protected] | ||
echo "run for ${{ matrix.repo }}" | ||
cd ${{ matrix.repo }} | ||
npx @paritytech/license-scanner scan \ | ||
--ensure-licenses=Apache-2.0 \ | ||
--ensure-licenses=GPL-3.0-only \ | ||
./**/*.rs | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
--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 |
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
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
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
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
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
Oops, something went wrong.