Skip to content

Commit

Permalink
Update mergify-ready.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad authored Aug 8, 2024
1 parent 5c75ef0 commit 9181592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mergify-ready.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
- name: Check for fixup commits
id: fixup-commits
run: |
if [[ $(git rev-list "$BASE_SHA".."$HEAD_SHA" --grep="^(fixup|amend|squash)! " | wc -l) -eq 0 ]]; then
if [[ $(git rev-list "$BASE_SHA".."$HEAD_SHA" --grep="^\(fixup\|amend\|squash\)! " | wc -l) -eq 0 ]]; then
echo "No fixup/amend/squash commits found in commit history"
else
echo "fixup/amend/squash commits found in commit history"
Expand Down

0 comments on commit 9181592

Please sign in to comment.