From 452b983fbbd498559439c3e66b014144c58be5bd Mon Sep 17 00:00:00 2001 From: jspijker Date: Wed, 22 Feb 2023 13:23:46 +0100 Subject: [PATCH] allow setting the user with the input --- .github/workflows/conan-recipe-version.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conan-recipe-version.yml b/.github/workflows/conan-recipe-version.yml index bf76d73733..8a3b5280d8 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -7,6 +7,11 @@ on: required: true type: string + user: + required: false + default: ultimaker + type: string + additional_buildmetadata: required: false default: "" @@ -91,7 +96,7 @@ jobs: from git import Repo repo = Repo('.') - user = "${{ github.repository_owner }}".lower() + user = "${{ inputs.user }}".lower() project_name = "${{ inputs.project_name }}" event_name = "${{ github.event_name }}" issue_number = "${{ github.ref }}".split('/')[2]