Skip to content

Commit

Permalink
Migrate from ORT github action to reusable ORT workflow (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Jan 5, 2023
1 parent 971c82f commit 4b384a9
Showing 1 changed file with 7 additions and 28 deletions.
35 changes: 7 additions & 28 deletions .github/workflows/ort.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# SPDX-FileCopyrightText: 2014-2022 Sequent Tech Inc <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-only
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=Yarn
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=Yarn

0 comments on commit 4b384a9

Please sign in to comment.