Skip to content

Commit cf8536e

Browse files
mmarchinitargos
authored andcommitted
build: fix commit linter on unrebased PRs
The commit linter was checking out the PR HEAD commit instead of merge/rebase commit, causing it to fail for any PRs that were not rebased on our default branch. Removing `ref` should fix the issue. PR-URL: #39121 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent cf0533b commit cf8536e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: .github/workflows/commit-lint.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
with:
11-
ref: ${{ github.event.pull_request.head.sha }}
1211
# Last 100 commits should be enough for a PR
1312
fetch-depth: 100
1413
- name: Use Node.js 12

0 commit comments

Comments
 (0)