Skip to content

Commit 02b3cb0

Browse files
Fix checking for merges
1 parent 192ef32 commit 02b3cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fabbot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
run: |
8888
# If a PR contains merge commits, fail the job
8989
gh api -H "Accept: application/vnd.github.v3+json" \
90-
"/repos/$REPO_OWNER/$REPO/pulls/$PR/commits" \
90+
"/repos/$REPO/pulls/$PR/commits" \
9191
| jq -r '.[].parents | length > 1' | grep true > /dev/null && {
9292
echo "::error::Merge commits are not allowed in pull requests."
9393
echo "Please rebase your branch."

0 commit comments

Comments
 (0)