Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Marchini <mmarchini@netflix.com>2021-06-22 21:50:34 +0300
committerMary Marchini <mmarchini@netflix.com>2021-06-23 01:45:03 +0300
commite0ebc6b30d8786b236b92c832ed60403d568b750 (patch)
tree44d0bd58c4cc04ef7da7764bdb8da6cab3bc0df2 /.github
parent53a63deadf3305ca8bae5adcb2edb94d41d71777 (diff)
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: https://github.com/nodejs/node/pull/39121 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/commit-lint.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml
index 6673f2942da..9ea6337b51f 100644
--- a/.github/workflows/commit-lint.yml
+++ b/.github/workflows/commit-lint.yml
@@ -8,7 +8,6 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
- ref: ${{ github.event.pull_request.head.sha }}
# Last 100 commits should be enough for a PR
fetch-depth: 100
- name: Use Node.js 12