Skip to content

Merge pull request #5 from apyrgio/feature-gha-base-ref #11

Merge pull request #5 from apyrgio/feature-gha-base-ref

Merge pull request #5 from apyrgio/feature-gha-base-ref #11

Workflow file for this run

name: Check branch conformity
on:
push:
jobs:
prevent-fixup-commits:
runs-on: ubuntu-latest
env:
target: debian-bookworm
distro: debian
version: bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: prevent fixup commits
run: |
git fetch origin
git status
git log --pretty=format:%s origin/main..HEAD | grep -ie '^fixup\|^wip' && exit 1 || true