diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index 9c751ccb3f1..935ef85900e 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -42,6 +42,11 @@ jobs: python -m pip install \ https://github.com/oasislabs/towncrier/archive/oasis-master.tar.gz \ gitlint + - name: Lint git commits + run: | + make lint-git + # Always run this step so that all linting errors can be seen at once. + if: always() - name: Check for presence of a Change Log fragment (only pull requests) run: | # Fetch the pull request' base branch so towncrier will be able to @@ -52,11 +57,6 @@ jobs: env: BASE_BRANCH: ${{ github.base_ref }} if: github.event_name == 'pull_request' - - name: Lint git commits - run: | - make lint-git - # Always run this step so that all linting errors can be seen at once. - if: always() - name: Lint Markdown files run: | make lint-md