Skip to content

fixup! ci: prevent accidental merge of fixup! commits #6

fixup! ci: prevent accidental merge of fixup! commits

fixup! ci: prevent accidental merge of fixup! commits #6

Workflow file for this run

name: Validate commit messages
on:
push:
jobs:
prevent-fixup-commits:
name: Check for fixup! commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Check for fixup! commits
run: git log main..HEAD | grep -ie '^ fixup!' && exit 1 || true