Skip to content

Commit

Permalink
ci: fix semver regex in C3 dependabot CI jobs (#4406)
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin authored Nov 8, 2023
1 parent cb8ec90 commit 3cf120c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/c3-e2e-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
const body = `${{ steps.get-pr-description.outputs.result }}`;
const semverRegexStr = '\\d+\\.\\d+\\.\\d+';
// Official semver regex: https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
const semverRegexStr = '(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?';
const frameworkCliRegex = new RegExp(
`(?:^|\\s+)Bumps\\s+\\[(${frameworkCliPackages.join(
Expand Down

0 comments on commit 3cf120c

Please sign in to comment.