diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6a98450..67a7347 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: npm i -D @semantic-release/git @semantic-release/changelog @commitlint/{cli,config-conventional} commitlint - name: Validate PR commits with commitlint - run: npx commitlint --from $GITHUB_SHA --to ${{ github.event.pull_request.head.sha }} --verbose + run: npx commitlint --from ${{ github.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose test: runs-on: ubuntu-22.04