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 467dbd3 commit 623e264Copy full SHA for 623e264
2 files changed
.github/workflows/lint-release-proposal.yml
@@ -39,7 +39,7 @@ jobs:
39
EXPECTED_TRAILER="^$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pull/[[:digit:]]+\$"
40
echo "Expected trailer format: $EXPECTED_TRAILER"
41
PR_URL="$(git --no-pager log -1 --format='%(trailers:key=PR-URL,valueonly)')"
42
- echo "Actual: $ACTUAL"
+ echo "Actual: $PR_URL"
43
echo "$PR_URL" | grep -E -q "$EXPECTED_TRAILER"
44
45
PR_HEAD="$(gh pr view "$PR_URL" --json headRefOid -q .headRefOid)"
tools/actions/lint-release-proposal-commit-list.mjs
@@ -34,6 +34,7 @@ if (commitListingStart === -1) {
34
// Normalize for consistent comparison
35
commitList = commitList
36
.replaceAll('**(SEMVER-MINOR)** ', '')
37
+ .replaceAll(/(?<= - )\*\*\(CVE-\d{4}-\d+\)\*\* (?=\*\*)/g, '')
38
.replaceAll('\\', '');
let expectedNumberOfCommitsLeft = commitList.match(/\n\* \[/g)?.length ?? 0;
0 commit comments