Skip to content

Commit

Permalink
Migrate from ORT github action to reusable ORT workflow from ort-conf…
Browse files Browse the repository at this point in the history
…ig repo (#261)
  • Loading branch information
edulix authored Jan 5, 2023
1 parent 32b3bfd commit 8a5d941
Showing 1 changed file with 8 additions and 29 deletions.
37 changes: 8 additions & 29 deletions .github/workflows/ort.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2014-2021 Sequent Tech Inc <[email protected]>

# SPDX-FileCopyrightText: 2014-2022 Sequent Tech Inc <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-only
name: ORT licensing
Expand All @@ -17,31 +18,9 @@ on:

jobs:
ort:
runs-on: ubuntu-20.04
steps:
- name: Use HTTPS instead of SSH for Git cloning
run: git config --global url.https://github.com/.insteadOf ssh://[email protected]/

- uses: actions/checkout@v3

- name: Run GitHub Action for ORT
uses: oss-review-toolkit/ort-ci-github-action@main
with:
run: > # remove the advisor step since we are not using it
cache-dependencies,
labels,
analyzer,
evaluator,
reporter,
upload-results
log-level: debug
ort-config-repository: 'https://github.com/sequentech/ort-config.git'
fail-on: issues,violations
report-formats: SpdxDocument,Excel,StaticHtml,WebApp
ort-cli-args: > # using the default plus the package managers setting
--force-overwrite
--stacktrace
-P ort.analyzer.enabledPackageManagers=PIP
ort-cli-evaluate-args: >
--rules-file /home/runner/.ort/config/rules.kts
--license-classifications-file /home/runner/.ort/config/license-classifications.yml
uses: sequentech/ort-config/.github/workflows/ort.yml@main
with:
ort-cli-args: > # using the default plus the package managers setting
--force-overwrite
--stacktrace
-P ort.analyzer.enabledPackageManagers=PIP

0 comments on commit 8a5d941

Please sign in to comment.