fix(build): skip sf inventory git scan outside worktree
Some checks are pending
sf self-deploy / build, test, and publish server image (push) Waiting to run
sf self-deploy / upgrade vega source server (push) Blocked by required conditions
sf self-deploy / deploy test and probe (push) Blocked by required conditions
sf self-deploy / promote prod (push) Blocked by required conditions
Some checks are pending
sf self-deploy / build, test, and publish server image (push) Waiting to run
sf self-deploy / upgrade vega source server (push) Blocked by required conditions
sf self-deploy / deploy test and probe (push) Blocked by required conditions
sf self-deploy / promote prod (push) Blocked by required conditions
This commit is contained in:
parent
7889cfe074
commit
7c4f204736
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ function failSection(title, values) {
|
|||
}
|
||||
|
||||
function ignoredResourceSources() {
|
||||
if (!existsSync(join(repoRoot, ".git"))) return [];
|
||||
const output = execFileSync(
|
||||
"git",
|
||||
[
|
||||
|
|
@ -102,6 +103,7 @@ function ignoredResourceSources() {
|
|||
}
|
||||
|
||||
function untrackedResourceSources() {
|
||||
if (!existsSync(join(repoRoot, ".git"))) return [];
|
||||
const output = execFileSync(
|
||||
"git",
|
||||
["ls-files", "-o", "--exclude-standard", "src/resources/extensions/**"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue