From 13bfa6e805d783e3abde904a3ad89ec6fe9b7fa4 Mon Sep 17 00:00:00 2001 From: Martin Nonnenmacher Date: Wed, 25 Sep 2024 17:50:11 +0200 Subject: [PATCH] ci(ort): Add an ORT config file 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 --- .github/ort/config.yml | 19 +++++++++++++++++++ .github/workflows/ort.yml | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 .github/ort/config.yml diff --git a/.github/ort/config.yml b/.github/ort/config.yml new file mode 100644 index 000000000..89f787848 --- /dev/null +++ b/.github/ort/config.yml @@ -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 diff --git a/.github/workflows/ort.yml b/.github/workflows/ort.yml index 1068a300c..f779d2aa0 100644 --- a/.github/workflows/ort.yml +++ b/.github/workflows/ort.yml @@ -3,6 +3,9 @@ name: ORT on: workflow_dispatch: +env: + ORT_CONFIG_DIR: ${{ github.workspace }}/ort-server/.github/ort + jobs: ort: name: Run ORT