[CI] test built
This commit is contained in:
parent
ff0beed1b2
commit
045c8d03bc
2 changed files with 7 additions and 0 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
@ -101,6 +101,12 @@ function splitLines(multilineString) {
|
||||||
}
|
}
|
||||||
function createOrUpdateBranch(git, commitMessage, base, branch, branchRemoteName, signoff) {
|
function createOrUpdateBranch(git, commitMessage, base, branch, branchRemoteName, signoff) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
// For self-hosted runners the repository state persists between runs.
|
||||||
|
// This prunes the stale remote ref when the pull request branch was
|
||||||
|
// deleted after being merged or closed. Without this the push using
|
||||||
|
// '--force-with-lease' fails due to "stale info."
|
||||||
|
// https://github.com/peter-evans/create-pull-request/issues/633
|
||||||
|
yield git.exec(['remote', 'prune', 'origin']);
|
||||||
// Get the working base.
|
// Get the working base.
|
||||||
// When a ref, it may or may not be the actual base.
|
// When a ref, it may or may not be the actual base.
|
||||||
// When a commit, we must rebase onto the actual base.
|
// When a commit, we must rebase onto the actual base.
|
||||||
|
|
1
report.txt
Normal file
1
report.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1605860782
|
Loading…
Add table
Add a link
Reference in a new issue