diff --git a/.github/workflows/drive.yml b/.github/workflows/drive.yml index cda66a4a..37c08533 100644 --- a/.github/workflows/drive.yml +++ b/.github/workflows/drive.yml @@ -28,7 +28,9 @@ jobs: - name: Install gitlint run: pip install --user requests gitlint - name: Lint commit messages added to main - run: ~/.local/bin/gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD + env: + BASE_REF: ${{ github.event.pull_request.base.ref }} + run: ~/.local/bin/gitlint --commits origin/${BASE_REF}..HEAD check-changelog: runs-on: ubuntu-latest