Skip to content

Commit

Permalink
ci: require autosquash of fixup commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Nov 26, 2023
1 parent e4d341d commit 3ab9adc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/require-autosquash-fixup-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: pull_request

name: Pull Request

permissions:
pull-requests: read

jobs:
message-check:
name: Require `git rebase --autosquash` for `--fixup` commits

runs-on: ubuntu-latest

steps:
- name: Require `git rebase --autosquash` for `--fixup` commits
uses: xt0rted/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3ab9adc

Please sign in to comment.