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)