Skip to content

feat: v2.1.1706185428 (#20) #9

feat: v2.1.1706185428 (#20)

feat: v2.1.1706185428 (#20) #9

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
gitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install gitlint
run: pip install gitlint
- name: Validate current commit (last commit) with gitlint
if: github.event_name == 'push'
run: gitlint
- name: Validate PR commits with gitlint
if: github.event_name == 'pull_request'
run: gitlint --commits ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }},${{ github.event.pull_request.head.sha }}