chore: bump simple-git (#380)
This commit is contained in:
4
lib/index.js
generated
4
lib/index.js
generated
File diff suppressed because one or more lines are too long
34
package-lock.json
generated
34
package-lock.json
generated
@@ -12,7 +12,7 @@
|
|||||||
"@actions/core": "^1.6.0",
|
"@actions/core": "^1.6.0",
|
||||||
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
|
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"simple-git": "^2.27.0",
|
"simple-git": "^3.3.0",
|
||||||
"string-argv": "^0.3.1"
|
"string-argv": "^0.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -1078,9 +1078,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/debug": {
|
"node_modules/debug": {
|
||||||
"version": "4.3.1",
|
"version": "4.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||||
"integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
|
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ms": "2.1.2"
|
"ms": "2.1.2"
|
||||||
},
|
},
|
||||||
@@ -2917,13 +2917,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/simple-git": {
|
"node_modules/simple-git": {
|
||||||
"version": "2.27.0",
|
"version": "3.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-2.27.0.tgz",
|
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.3.0.tgz",
|
||||||
"integrity": "sha512-/Q4aolzErYrIx6SgyH421jmtv5l1DaAw+KYWMWy229+isW6yld/nHGxJ2xUR/aeX3SuYJnbucyUigERwaw4Xow==",
|
"integrity": "sha512-K9qcbbZwPHhk7MLi0k0ekvSFXJIrRoXgHhqMXAFM75qS68vdHTcuzmul1ilKI02F/4lXshVgBoDll2t++JK0PQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@kwsites/file-exists": "^1.1.1",
|
"@kwsites/file-exists": "^1.1.1",
|
||||||
"@kwsites/promise-deferred": "^1.1.1",
|
"@kwsites/promise-deferred": "^1.1.1",
|
||||||
"debug": "^4.3.1"
|
"debug": "^4.3.3"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/steveukx/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/slash": {
|
"node_modules/slash": {
|
||||||
@@ -4274,9 +4278,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
"version": "4.3.1",
|
"version": "4.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
||||||
"integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
|
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"ms": "2.1.2"
|
"ms": "2.1.2"
|
||||||
}
|
}
|
||||||
@@ -5640,13 +5644,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"simple-git": {
|
"simple-git": {
|
||||||
"version": "2.27.0",
|
"version": "3.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-2.27.0.tgz",
|
"resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.3.0.tgz",
|
||||||
"integrity": "sha512-/Q4aolzErYrIx6SgyH421jmtv5l1DaAw+KYWMWy229+isW6yld/nHGxJ2xUR/aeX3SuYJnbucyUigERwaw4Xow==",
|
"integrity": "sha512-K9qcbbZwPHhk7MLi0k0ekvSFXJIrRoXgHhqMXAFM75qS68vdHTcuzmul1ilKI02F/4lXshVgBoDll2t++JK0PQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@kwsites/file-exists": "^1.1.1",
|
"@kwsites/file-exists": "^1.1.1",
|
||||||
"@kwsites/promise-deferred": "^1.1.1",
|
"@kwsites/promise-deferred": "^1.1.1",
|
||||||
"debug": "^4.3.1"
|
"debug": "^4.3.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"slash": {
|
"slash": {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
"@actions/core": "^1.6.0",
|
"@actions/core": "^1.6.0",
|
||||||
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
|
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"simple-git": "^2.27.0",
|
"simple-git": "^3.3.0",
|
||||||
"string-argv": "^0.3.1"
|
"string-argv": "^0.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -178,14 +178,12 @@ core.info(`Running in ${baseDir}`)
|
|||||||
core.setFailed(e)
|
core.setFailed(e)
|
||||||
})
|
})
|
||||||
|
|
||||||
async function add(
|
async function add(ignoreErrors: 'all' | 'pathspec' | 'none' = 'none') {
|
||||||
ignoreErrors: 'all' | 'pathspec' | 'none' = 'none'
|
|
||||||
): Promise<(void | Response<void>)[]> {
|
|
||||||
const input = getInput('add')
|
const input = getInput('add')
|
||||||
if (!input) return []
|
if (!input) return []
|
||||||
|
|
||||||
const parsed = parseInputArray(input)
|
const parsed = parseInputArray(input)
|
||||||
const res: (void | Response<void>)[] = []
|
const res: (string | void)[] = []
|
||||||
|
|
||||||
for (const args of parsed) {
|
for (const args of parsed) {
|
||||||
res.push(
|
res.push(
|
||||||
|
|||||||
Reference in New Issue
Block a user