Skip to content

Commit 6c3cf77

Browse files
Small fix to git push command (#707)
1 parent d4bc8e8 commit 6c3cf77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/add_new_or_updated_feeds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
git commit -m "Automated commit — New/Updated feed(s)"
138138
139139
# Force push changes to the branch
140-
git push -f origin "$BRANCH_NAME"
140+
git push -f origin "$BRANCH_NAME" || (echo "Git push failed!" && git remote -v && git branch -vv && exit 1)
141141
142142
# Check if a PR already exists
143143
EXISTING_PR=$(gh pr list --head "$BRANCH_NAME" --json number -q '.[0].number')

0 commit comments

Comments
 (0)