Make 'source-root' init input relative to github.workspace
In the previous commit, the default value of the input is ${{ github.workspace }}
which means that most uses of this input would probably prefix their paths with
${{ github.workspace }}, especially since actions/checkout's 'path' input
must be under ${{ github.workspace }}. Therefore, it doesn't make much sense for
this to be an absolute file path.
Instead, it's more intuitive to make this relative to the repository.
This commit is contained in:
parent
42babdf2c1
commit
337ae83a84
4 changed files with 13 additions and 9 deletions
|
|
@ -39,9 +39,8 @@ inputs:
|
|||
required: true
|
||||
default: 'true'
|
||||
source-root:
|
||||
description: The root source-code directory.
|
||||
required: true
|
||||
default: ${{ github.workspace }}
|
||||
description: Path to the root source-code directory, relative to ${{ github.workspace }}.
|
||||
required: false
|
||||
outputs:
|
||||
codeql-path:
|
||||
description: The path of the CodeQL binary used for analysis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue