Skip to content

Commit

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

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit 8b13be3)
  • Loading branch information
jakubdyszkiewicz authored and mergify[bot] committed Feb 14, 2023
1 parent 4defb4f commit 4e98142
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 4e98142

Please sign in to comment.