Skip to content

Action not using local ort config #35

@cz-dev-ge

Description

@cz-dev-ge

Hi everyone,

I have a repository using this action. Inside I have the following structure:

root-+-src/
     |
     +-.ort.yml
     |
     +-.ort/-+-config/-+-config.yml
                       |
                       +-curations.yml

But the files under .ort/config are not used:

 ______________________________                                                
/        \_______   \__    ___/ The OSS Review Toolkit, version 22.7.0,        
|    |   | |       _/ |    |    built with JDK 11.0.23+9, running under Java 17
|    |   | |    |   \ |    |    Executing 'analyze' as 'ort' on Linux          
\________/ |____|___/ |____|    with 4 CPUs and a maximum of 5120 MiB of memory
                                                                               
Environment variables:                                                        
ORT_CONFIG_DIR = /home/ort/.ort/config                                        
ORT_DATA_DIR = /home/ort/.ort                                                 
HOME = /home/ort                                                              
JAVA_HOME = /opt/java/openjdk                                                 
ANDROID_HOME = /opt/android-sdk                                               
                                                                              
Looking for ORT configuration in the following file:
        /home/ort/.ort/config/config.yml (does not exist)
Looking for analyzer-specific configuration in the following files and directories:
        /home/ort/work/<Repo-Name>/<Repo-Name>/.ort.yml <<<<<<<<<< THIS ONE IS FOUND
        /home/ort/.ort/config/resolutions.yml

I already tried to set ort-config-path and ort-home-path - but neither seems to work.
So what is the correct way to use use those files?

Best regards,
Georg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions