This commit is contained in:
di-sukharev
2023-05-20 21:10:38 +08:00
parent 88f367d662
commit b2ef14c586
2 changed files with 6 additions and 0 deletions

View File

@@ -197,6 +197,10 @@ async function run(retries = 3) {
await exec.exec('git', ['log', '--oneline']);
await exec.exec('git', ['commit', '--amend', '-m', 'NEW_DAT_MSG']);
await exec.exec('git', ['push', 'origin/master', '--force']);
try {
if (github.context.eventName === 'pull_request') {
const baseBranch = github.context.payload.pull_request?.base.ref;