We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 880469c commit 29fec68Copy full SHA for 29fec68
.github/workflows/conventional-commit-lint.yml
@@ -7,14 +7,11 @@ jobs:
7
conventional-commit-lint:
8
runs-on: ubuntu-latest
9
steps:
10
- - name: Get all PR commits + 1
11
- run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
12
-
13
- name: Checkout
14
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
15
with:
16
ref: ${{ github.event.pull_request.head.ref }}
17
- fetch-depth: ${{ env.PR_FETCH_DEPTH }}
+ fetch-depth: ${{ github.event.pull_request.commits }}
18
19
- name: Setup Node.js
20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
0 commit comments