forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: deprecate fossa in favor of liccheck to validate python licens…
…es (apache#31515)
- Loading branch information
1 parent
e788b85
commit 88cde72
Showing
3 changed files
with
65 additions
and
1 deletion.
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
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 |
---|---|---|
|
@@ -5,7 +5,18 @@ | |
# Source repository: https://github.com/actions/dependency-review-action | ||
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement | ||
name: "Dependency Review" | ||
on: [pull_request] | ||
on: | ||
push: | ||
branches: | ||
- "master" | ||
- "[0-9].[0-9]*" | ||
pull_request: | ||
types: [synchronize, opened, reopened, ready_for_review] | ||
|
||
# cancel previous workflow jobs for PRs | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
@@ -33,3 +44,22 @@ jobs: | |
# pkg:npm/[email protected] | ||
# selecting BSD-3-Clause licensing terms for node-forge to ensure compatibility with Apache | ||
allow-dependencies-licenses: pkg:npm/[email protected], pkg:npm/applitools/core, pkg:npm/applitools/core-base, pkg:npm/applitools/css-tree, pkg:npm/applitools/ec-client, pkg:npm/applitools/eg-socks5-proxy-server, pkg:npm/applitools/eyes, pkg:npm/applitools/eyes-cypress, pkg:npm/applitools/nml-client, pkg:npm/applitools/tunnel-client, pkg:npm/applitools/utils, pkg:npm/[email protected], pkg:npm/rgbcolor, pkg:npm/[email protected] | ||
|
||
python-dependency-liccheck: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: "Checkout Repository" | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: ./.github/actions/setup-backend/ | ||
|
||
- name: "Set up liccheck" | ||
run: | | ||
pip install liccheck | ||
- name: "Run liccheck" | ||
run: | | ||
# run the checks | ||
liccheck -R output.txt | ||
# Print the report | ||
cat output.txt |
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