Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2e76cd2

Browse filesBrowse files
aduh95ruyadorno
authored andcommitted
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 7a94100 commit 2e76cd2
Copy full SHA for 2e76cd2

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: .github/workflows/lint-release-proposal.yml
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.