diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 7ef4e2c5d6..a7e7c5af0b 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/checkout@v6 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.base.ref }} - name: Fetch PR head run: git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_head - name: Run commitlint