Skip to content

Commit

Permalink
fix(github): pr merged workflow (backport kumahq#6025) (kumahq#6027)
Browse files Browse the repository at this point in the history
fix(github): pr merged workflow (kumahq#6025)

fix(ci): pr merged workflow

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit 8b13be3)

Co-authored-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
  • Loading branch information
mergify[bot] and jakubdyszkiewicz authored Feb 14, 2023
1 parent d71f733 commit 0561a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-merged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
pr = context.payload.pull_request.number;
} else if (context.eventName == "push") {
const versionRegex = /v?(\d+)\.(\d+)\.\d+/;
const versionMatch = context.github.ref_name.match(versionRegex);
const versionMatch = process.env.GITHUB_REF_NAME.match(versionRegex);
if (!versionMatch) {
return;
}
Expand Down

0 comments on commit 0561a7f

Please sign in to comment.