Skip to content

Change check_push to only check on PRs. #5

Change check_push to only check on PRs.

Change check_push to only check on PRs. #5

Workflow file for this run

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