Skip to content

Commit a5aaf31

Browse files
committed
tools: fix release proposal linter to support more than 1 folk preparing
PR-URL: #56203 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8092dcf commit a5aaf31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint-release-proposal.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
PR_HEAD="$(gh pr view "$PR_URL" --json headRefOid -q .headRefOid)"
4444
echo "Head of $PR_URL: $PR_HEAD"
4545
echo "Current commit: $GITHUB_SHA"
46-
[[ "$PR_HEAD" == "$GITHUB_SHA" ]]
46+
[ "$PR_HEAD" = "$GITHUB_SHA" ]
4747
env:
4848
GH_TOKEN: ${{ github.token }}
4949
- name: Validate CHANGELOG
@@ -53,7 +53,7 @@ jobs:
5353
echo "Expected CHANGELOG section title: $EXPECTED_CHANGELOG_TITLE_INTRO"
5454
CHANGELOG_TITLE="$(grep "$EXPECTED_CHANGELOG_TITLE_INTRO" "doc/changelogs/CHANGELOG_V${COMMIT_SUBJECT:20:2}.md")"
5555
echo "Actual: $CHANGELOG_TITLE"
56-
[[ "${CHANGELOG_TITLE%@*}@" == "$EXPECTED_CHANGELOG_TITLE_INTRO" ]]
56+
[ "${CHANGELOG_TITLE%%@*}@" = "$EXPECTED_CHANGELOG_TITLE_INTRO" ]
5757
- name: Verify NODE_VERSION_IS_RELEASE bit is correctly set
5858
run: |
5959
grep -q '^#define NODE_VERSION_IS_RELEASE 1$' src/node_version.h

0 commit comments

Comments
 (0)