Skip to content

Commit

Permalink
Add checkout step to the commit lint
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
  • Loading branch information
afrittoli committed Jan 17, 2024
1 parent 690afed commit 8567ff1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
name: Lint Commit Messages
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check Commit Lint
uses: wagoid/commitlint-github-action@v5.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

lint_check:
name: Rust - lint_${{ matrix.lint_projects }}
Expand All @@ -44,9 +44,7 @@ jobs:
- cargo_toml_files
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ github.event.inputs.commit_sha }}
uses: actions/checkout@v4
- name: Run lint ${{ matrix.lint_projects }}
run: make -f Makefile lint_${{ matrix.lint_projects }}

0 comments on commit 8567ff1

Please sign in to comment.