ignore return code
This commit is contained in:
parent
76979c4272
commit
205aea6a3e
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -125,7 +125,7 @@ function createOrUpdateBranch(git, commitMessage, base, branch, branchRemoteName
|
||||
if (yield git.isDirty(true)) {
|
||||
core.info('Uncommitted changes found. Adding a commit.');
|
||||
for (const filePattern of filePatterns) {
|
||||
yield git.exec(['add', filePattern]);
|
||||
yield git.exec(['add', filePattern], true);
|
||||
}
|
||||
const params = ['-m', commitMessage];
|
||||
if (signoff) {
|
||||
|
||||
@ -122,7 +122,7 @@ export async function createOrUpdateBranch(
|
||||
if (await git.isDirty(true)) {
|
||||
core.info('Uncommitted changes found. Adding a commit.')
|
||||
for (const filePattern of filePatterns) {
|
||||
await git.exec(['add', filePattern])
|
||||
await git.exec(['add', filePattern], true)
|
||||
}
|
||||
const params = ['-m', commitMessage]
|
||||
if (signoff) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user