Skip to content

Commit db442e5

Browse files
authored
Merge pull request #34 from sequentech/ort-fix-71x
migrating to reusable workflow
2 parents c89adc5 + 4fd4f2b commit db442e5

File tree

2 files changed

+7
-29
lines changed

2 files changed

+7
-29
lines changed

.github/workflows/ort.yml

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,9 @@ on:
1717

1818
jobs:
1919
ort:
20-
runs-on: ubuntu-20.04
21-
steps:
22-
- name: Use HTTPS instead of SSH for Git cloning
23-
run: git config --global url.https://github.com/.insteadOf ssh://git@github.com/
24-
25-
- uses: actions/checkout@v3
26-
27-
- name: Run GitHub Action for ORT
28-
uses: oss-review-toolkit/ort-ci-github-action@main
29-
with:
30-
run: > # remove the advisor step since we are not using it
31-
cache-dependencies,
32-
labels,
33-
analyzer,
34-
evaluator,
35-
reporter,
36-
upload-results
37-
log-level: debug
38-
ort-config-repository: 'https://github.com/sequentech/ort-config.git'
39-
fail-on: issues,violations
40-
report-formats: SpdxDocument,Excel,StaticHtml,WebApp
41-
ort-cli-args: > # using the default plus the package managers setting
42-
--force-overwrite
43-
--stacktrace
44-
-P ort.analyzer.enabledPackageManagers=PIP
45-
ort-cli-evaluate-args: >
46-
--rules-file /home/runner/.ort/config/rules.kts
47-
--license-classifications-file /home/runner/.ort/config/license-classifications.yml
20+
uses: sequentech/ort-config/.github/workflows/ort.yml@main
21+
with:
22+
ort-cli-args: > # using the default plus the package managers setting
23+
--force-overwrite
24+
--stacktrace
25+
-P ort.analyzer.enabledPackageManagers=PIP

.ort.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
---
66
resolutions:
77
rule_violations:
8-
- message: "The package PyPI::certifi:2021.10.8 has the declared ScanCode copyleft-limited categorized license MPL-2.0."
8+
- message: "The package PyPI::certifi:2022.12.7 has the declared ScanCode copyleft-limited categorized license MPL-2.0."
99
reason: "DYNAMIC_LINKAGE_EXCEPTION"
1010
comment: "We are not modifying certifi and we dynamically link to it, so acording to MPL-2.0 this allows us to keep our code with a completely different license. In this kind of case, MPL-2.0 is not viral. https://www.mozilla.org/en-US/MPL/2.0/FAQ/"

0 commit comments

Comments
 (0)