Skip to content

Commit

Permalink
Merge pull request #588 from mmalina/fix-gitlint
Browse files Browse the repository at this point in the history
fix: gitlint installation
  • Loading branch information
mmalina authored Oct 16, 2024
2 parents bd73069 + aade749 commit 69ae839
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,19 @@ jobs:
run: docker build -f ./Dockerfile .
gitlint:
name: Run gitlint checks
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Install gitlint into container
run: python -m pip install gitlint
run: |
python3 -m venv venv
source venv/bin/activate
python3 -m pip install gitlint
- name: Run gitlint check
run: gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD
run: |
source venv/bin/activate
gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD

0 comments on commit 69ae839

Please sign in to comment.