mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
ignore return code
This commit is contained in:
parent
76979c4272
commit
205aea6a3e
2 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue