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.
lint-release-proposal
1 parent 6259abc commit 746d0ceCopy full SHA for 746d0ce
.github/workflows/lint-release-proposal.yml
@@ -88,7 +88,7 @@ jobs:
88
gh api \
89
-H "Accept: application/vnd.github+json" \
90
-H "X-GitHub-Api-Version: 2022-11-28" \
91
- --jq '.commits.[] | { smallSha: .sha[0:10] } + (.commit.message|capture("^(?<title>.+)\n\n(.*\n)*PR-URL: (?<prURL>.+)\n"))' \
+ --jq '.commits.[] | { smallSha: .sha[0:10] } + (.commit.message|capture("^(?<title>.+)\n\n(.*\n)*PR-URL: (?<prURL>.+)(\n|$)"))' \
92
"/repos/${GITHUB_REPOSITORY}/compare/v${MAJOR}.x...$GITHUB_SHA" --paginate \
93
| node tools/actions/lint-release-proposal-commit-list.mjs "$CHANGELOG_PATH" "$GITHUB_SHA" \
94
| while IFS= read -r PR_URL; do
0 commit comments