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
git subtree pull --prefix vendor/github.com/performancecopilot/ansible-pcp https://github.com/performancecopilot/ansible-pcp.git HEAD --squash
24
-
git push
32
+
33
+
if git diff --quiet "$BEFORE_COMMIT" HEAD; then
34
+
echo "No changes detected, skipping PR creation"
35
+
git checkout main
36
+
git branch -D "$BRANCH_NAME"
37
+
exit 0
38
+
fi
39
+
40
+
git push origin "$BRANCH_NAME"
41
+
42
+
PR_URL=$(gh pr create \
43
+
--title "Sync ansible-pcp git subtree" \
44
+
--body "Automated sync of ansible-pcp git subtree from upstream repository. This PR contains the latest changes from https://github.com/performancecopilot/ansible-pcp.git" \
0 commit comments