diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 07d2683..56c9fb1 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -11,12 +11,9 @@ jobs: name: Linting runs-on: ubuntu-latest steps: - - name: Download Earthly v0.8.12. - run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" - name: Checkout code. uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - - name: Check Conventional Commits linting. - run: earthly --ci +check-conventional-commits-linting --from_reference "origin/${{ github.base_ref }}" + fetch-depth: 0 + - run: git status + - run: git log