Skip to content

Commit d7c911b

Browse files
Merge pull request #29 from Mikael-RnD/author-input-and-repository-metadata
feat!: add author and repository parameters
2 parents 407c4b9 + b5c47be commit d7c911b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ inputs:
3737
description: 'Trace level for test execution logs. Possible values are Verbose, Information, Warning, Error. Default is Warning.'
3838
required: false
3939
default: "Warning"
40+
author:
41+
description: 'The package author. If not provided, the GitHub actor will be used as the author of the package'
42+
required: false
43+
default: "${{ github.actor }}"
4044
outputs:
4145
testExecutionLinks:
4246
description: 'Outputs a comma-separated list of Orchestrator links for viewing test results'
@@ -177,6 +181,11 @@ runs:
177181
--out uipath \
178182
--result_path "$testResultFilePath" \
179183
--language en-US \
184+
--repositoryUrl "${{ github.server_url }}/${{ github.repository }}" \
185+
--repositoryCommit "${{ github.sha }}" \
186+
--repositoryBranch "${{ github.head_ref || github.ref_name }}" \
187+
--repositoryType git \
188+
--author "${{ inputs.author }}"
180189
--traceLevel "${{ inputs.traceLevel }}" \
181190
${{ steps.set_additional_parameters.outputs.additionalParameters }}
182191

0 commit comments

Comments
 (0)