Skip to content

Commit

Permalink
ci(ort): Add an ORT config file
Browse files Browse the repository at this point in the history
Add a config file for ORT to configure the package configuration and
curation providers, enable `skipExcluded`, and configure some reporter
options.

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
  • Loading branch information
mnonnenmacher committed Sep 26, 2024
1 parent 87f6e0a commit 13bfa6e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/ort/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ort:
packageConfigurationProviders:
- type: OrtConfig
packageCurationProviders:
- type: OrtConfig
analyzer:
skipExcluded: true
advisor:
skipExcluded: true
reporter:
config:
CycloneDx:
output.file.formats: JSON
SpdxDocument:
creationInfo.organization: Eclipse Apoapsis
document.name: ORT Server
WebApp:
# Otherwise, the tree view in the report is barely usable.
deduplicateDependencyTree: true
3 changes: 3 additions & 0 deletions .github/workflows/ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: ORT
on:
workflow_dispatch:

env:
ORT_CONFIG_DIR: ${{ github.workspace }}/ort-server/.github/ort

jobs:
ort:
name: Run ORT
Expand Down

0 comments on commit 13bfa6e

Please sign in to comment.