Skip to content

Commit 43536ce

Browse files
committed
try verbose
1 parent e1ee457 commit 43536ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37041,7 +37041,7 @@ async function updateFromSourceFlow(token, branch, autoMerge) {
3704137041
core.info(`Pushing changes to branch: ${branch}`);
3704237042
const repoUrl = `https://x-access-token:${token}@github.com/${owner}/${repo}.git`;
3704337043
await exec.exec('git', ['remote', 'set-url', 'origin', repoUrl]);
37044-
await exec.exec('git', ['push', 'origin', branch], { silent: true });
37044+
await exec.exec('git', ['push', '--force', '--verbose', 'origin', branch], { silent: false });
3704537045
if (!autoMerge) {
3704637046
const octokit = github.getOctokit(token);
3704737047
await createPR(octokit, owner, repo, branch, github.context.ref.replace('refs/heads/', ''), true);

src/sync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async function updateFromSourceFlow(token: string, branch: string, autoMerge: bo
8585
const repoUrl = `https://x-access-token:${token}@github.com/${owner}/${repo}.git`;
8686
await exec.exec('git', ['remote', 'set-url', 'origin', repoUrl]);
8787

88-
await exec.exec('git', ['push', 'origin', branch], { silent: true });
88+
await exec.exec('git', ['push', '--force', '--verbose', 'origin', branch], { silent: false });
8989

9090
if (!autoMerge) {
9191
const octokit = github.getOctokit(token);

0 commit comments

Comments
 (0)