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 4303d68 commit 11c7c1eCopy full SHA for 11c7c1e
.github/workflows/backport-assistant-prerun.yml
@@ -78,7 +78,8 @@ jobs:
78
id: check_merges
79
if: needs.get-pr-info.outputs.has_no_backport == 'false'
80
run: |
81
- MERGE_COMMITS=$(git log --merges --oneline origin/${{ github.base_ref }}..HEAD)
+ BASE_REF="${{ github.event.pull_request.base.ref }}"
82
+ MERGE_COMMITS=$(git log --merges --oneline origin/${{ BASE_REF }}..HEAD)
83
if [ -n "$MERGE_COMMITS" ]; then
84
echo "::error::Merge commits found."
85
echo "merge_commit_found=true" >> $GITHUB_OUTPUT
0 commit comments