Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
gitlint: bump CI Docker image to newest version
Browse files Browse the repository at this point in the history
There is a newest version of that tool available, so simply use it.

Add `git config --global --add safe.directory` invocation, which is
required because of security reasons and newest `git` version.

Signed-off-by: Marcin Niestroj <[email protected]>
  • Loading branch information
mniestroj committed Jul 24, 2023
1 parent ed071b2 commit 20c97b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ jobs:
runs-on: ubuntu-latest

container:
image: jorisroovers/gitlint:0.15.1
image: jorisroovers/gitlint:0.19.1

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Run gitlint
run: gitlint --commits origin/main..
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
gitlint --commits origin/main..

0 comments on commit 20c97b9

Please sign in to comment.