Skip to content

Commit

Permalink
CI: Replace action that doesn't understand unchangable old commits wi…
Browse files Browse the repository at this point in the history
…th oneliner that does
  • Loading branch information
chrysn committed Jan 24, 2025
1 parent a621739 commit b1541bf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ name: Pull Requests
jobs:
message-check:
name: Block Autosquash Commits

runs-on: ubuntu-latest

steps:
- name: Block Autosquash Commits
uses: skjnldsv/block-autosquash-commits-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
run: "! git log --oneline main.. |grep 'fixup!\|squash\!\|MERGE\|DNM'"

0 comments on commit b1541bf

Please sign in to comment.