This commit is contained in:
di-sukharev
2023-05-20 21:13:17 +08:00
parent c30d34e1b5
commit cfa5462cbd
2 changed files with 2 additions and 2 deletions

View File

@@ -27314,7 +27314,7 @@ async function run(retries = 3) {
await import_exec.default.exec("git", ["status"]);
await import_exec.default.exec("git", ["log", "--oneline"]);
await import_exec.default.exec("git", ["commit", "--amend", "-m", "NEW_DAT_MSG"]);
await import_exec.default.exec("git", ["push", "origin/master", "--force"]);
await import_exec.default.exec("git", ["push", "--force"]);
try {
if (import_github.default.context.eventName === "pull_request") {
const baseBranch = import_github.default.context.payload.pull_request?.base.ref;

View File

@@ -199,7 +199,7 @@ async function run(retries = 3) {
await exec.exec('git', ['commit', '--amend', '-m', 'NEW_DAT_MSG']);
await exec.exec('git', ['push', 'origin/master', '--force']);
await exec.exec('git', ['push', '--force']);
try {
if (github.context.eventName === 'pull_request') {