From 690afed14c8f244b8626aea4b2cd75da4a038248 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Wed, 17 Jan 2024 18:48:54 +0000 Subject: [PATCH 1/2] Rename cargo.toml to Cargo.toml Signed-off-by: Andrea Frittoli --- cargo.toml => Cargo.toml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename cargo.toml => Cargo.toml (100%) diff --git a/cargo.toml b/Cargo.toml similarity index 100% rename from cargo.toml rename to Cargo.toml From 8567ff10623e25737764e2b52cfaf8cfb987e404 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Wed, 17 Jan 2024 18:53:55 +0000 Subject: [PATCH 2/2] Add checkout step to the commit lint Signed-off-by: Andrea Frittoli --- .github/workflows/linter.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index b1d4579..fa72d53 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -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 }} @@ -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 }}