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
Copy file name to clipboardExpand all lines: .github/workflows/sync-to-astro.yml
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -77,22 +77,22 @@ jobs:
77
77
echo "Changes detected:"
78
78
git status --porcelain
79
79
80
-
# git add .
81
-
# git commit -m "sync: Update MDX content from Whitepaper"
82
-
# if ! git push -f origin ${{ env.TARGET_BRANCH }}; then
83
-
# echo "Failed to push changes"
84
-
# exit 1
85
-
# fi
80
+
git add .
81
+
git commit -m "sync: Update MDX content from Whitepaper"
82
+
if ! git push -f origin ${{ env.TARGET_BRANCH }}; then
83
+
echo "Failed to push changes"
84
+
exit 1
85
+
fi
86
86
87
-
echo -e "\nPR that would be created:"
87
+
echo -e "\nPR that will be created:"
88
88
echo "Title: sync: Update MDX content from Whitepaper"
89
89
echo -e "Body:\nAutomated sync of Whitepaper content to MDX format.\n\nThis PR was automatically generated by the sync workflow at https://github.com/apify/actor-whitepaper.\n\n- [ ] Review content changes\n- [ ] Check MDX formatting\n\n"
90
90
echo "Base: main"
91
91
echo "Head: ${{ env.TARGET_BRANCH }}"
92
92
echo "Labels: automated, sync"
93
93
echo "Assignee: ${{ github.actor }}"
94
94
95
-
echo -e "\nFiles that would be included in the PR:"
95
+
echo -e "\nFiles that will be included in the PR:"
96
96
git diff --name-status
97
97
else
98
98
echo "No changes detected in git status --porcelain"
0 commit comments