Skip to content

Commit 3fe89d5

Browse files
fix: update stale comment on pushWithFallback
Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
1 parent 2102f86 commit 3fe89d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39636,7 +39636,7 @@ async function pushChanges(branchName, options) {
3963639636
throw new Error(`Failed to push changes to the repository: ${error instanceof Error ? error.message : "Unknown error"}`);
3963739637
}
3963839638
}
39639-
// Push with fallback: try regular push, then rebase, then force push, then comment on PR
39639+
// Push with fallback: try regular push, then rebase + push, then comment on PR with error details
3964039640
async function pushWithFallback(branchName, owner, repo, octokit) {
3964139641
// Try regular push first
3964239642
try {

src/sync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ async function pushChanges(
501501
}
502502
}
503503

504-
// Push with fallback: try regular push, then rebase, then force push, then comment on PR
504+
// Push with fallback: try regular push, then rebase + push, then comment on PR with error details
505505
async function pushWithFallback(
506506
branchName: string,
507507
owner: string,

0 commit comments

Comments
 (0)