Skip to content

Commit ed7db07

Browse files
author
GitHub Copilot
committed
fix syntax
1 parent c09bafa commit ed7db07

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/auto-update-pr-branches.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ jobs:
4242
if [ "$merge_state" = "BEHIND" ]; then
4343
echo "PR #$pr is behind main, triggering Dependabot rebase"
4444
gh pr comment --repo "${{ github.repository }}" "$pr" --body "@dependabot rebase" || true
45-
else
46-
if [ "$merge_state" = "UNKNOWN" ]; then
45+
elif [ "$merge_state" = "UNKNOWN" ]; then
4746
echo "PR #$pr state UNKNOWN, triggering Dependabot rebase anyway to be safe"
4847
gh pr comment --repo "${{ github.repository }}" "$pr" --body "@dependabot rebase" || true
4948
else

0 commit comments

Comments
 (0)