We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192ef32 commit 02b3cb0Copy full SHA for 02b3cb0
.github/workflows/fabbot.yml
@@ -87,7 +87,7 @@ jobs:
87
run: |
88
# If a PR contains merge commits, fail the job
89
gh api -H "Accept: application/vnd.github.v3+json" \
90
- "/repos/$REPO_OWNER/$REPO/pulls/$PR/commits" \
+ "/repos/$REPO/pulls/$PR/commits" \
91
| jq -r '.[].parents | length > 1' | grep true > /dev/null && {
92
echo "::error::Merge commits are not allowed in pull requests."
93
echo "Please rebase your branch."
0 commit comments