We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c016ad commit 2c13cdcCopy full SHA for 2c13cdc
.github/workflows/create-new-tag.yaml
@@ -36,7 +36,7 @@ jobs:
36
37
// This regex needs to kept in-sync with the pattern in create-release-pr.yaml
38
const regex = /^automation-create-release-(.*)$/i
39
- const parsed_version = context.payload.pull_request.head.label.match(regex)
+ const parsed_version = context.payload.pull_request.head.ref.match(regex)
40
41
if (!parsed_version || !parsed_version[1].length) {
42
core.setFailed('Workflow not called from an appropriate branch name')
0 commit comments