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 1f35408 commit f722289
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ name: Git checks
jobs:
message-check:
name: Block Autosquash Commits

runs-on: ubuntu-latest

steps:
- name: Block Autosquash Commits
uses: skjnldsv/block-autosquash-commits-action@v1
- name: Check out riot-wrappers
uses: actions/checkout@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Block Autosquash Commits
run: "! git log --oneline origin/main.. |grep 'fixup!\\|squash!\\|MERGE\\|DNM'"

0 comments on commit f722289

Please sign in to comment.