diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-07-12 12:32:04 +0300 |
---|---|---|
committer | jspijker <j.spijker@ultimaker.com> | 2022-07-12 12:32:04 +0300 |
commit | 6c4e85b85c6bc4b728b72e08f8850754f681c8ac (patch) | |
tree | 286dfb96939111bbfeaa62209955ceca0e18e96b /.github | |
parent | 15c67719ede634b84128d962697669182ed08a12 (diff) |
Get correct issue number from PR
Contributes to CURA-9365
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/conan-recipe-version.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/conan-recipe-version.yml b/.github/workflows/conan-recipe-version.yml index 24be3f8a19..854d54522c 100644 --- a/.github/workflows/conan-recipe-version.yml +++ b/.github/workflows/conan-recipe-version.yml @@ -68,7 +68,7 @@ jobs: user = "${{ github.repository_owner }}" project_name = "${{ inputs.project_name }}" event_name = "${{ github.event_name }}" - issue_number = "${{ github.event.issue.number }}" + issue_number = "${{ github.ref }}".split('/')[2] is_tag = "${{ github.ref_type }}" == "tag" # FIXME: for when we push a tag (such as an release) |