Get correct issue number from PR

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-12 11:32:04 +02:00 committed by jspijker
parent ecee9181b9
commit b3c60eb34b

View File

@ -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)