You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--body "$(echo -e "See [merge-train-readme.md](https://github.com/${{ github.repository }}/blob/next/.github/workflows/merge-train-readme.md).\nThis is a merge-train.")" \
37
-
--label "ci-no-squash"
38
-
39
-
echo "Created PR for $branch"
40
-
else
41
-
echo "PR #$existing_pr already exists for $branch"
42
-
fi
24
+
branch="${{ github.ref_name }}"
25
+
26
+
# Skip if this is a merge commit (check for multiple parents)
--body "$(echo -e "See [merge-train-readme.md](https://github.com/${{ github.repository }}/blob/next/.github/workflows/merge-train-readme.md).\nThis is a merge-train.")" \
52
+
--label "ci-no-squash"
53
+
54
+
echo "Created PR for $branch"
55
+
else
56
+
echo "PR #$existing_pr already exists for $branch"
0 commit comments