refactor: make production gate impact only
Memind CI / Test, build, and release guards (push) Has been cancelled
Memind CI / Test, build, and release guards (push) Has been cancelled
This commit is contained in:
@@ -372,7 +372,7 @@ export async function executeImpactReleaseGate(options) {
|
||||
}
|
||||
options.artifact = assertPortalRuntimePath(options.artifact, { repoRoot: ROOT });
|
||||
if (!options.deployedCommit) {
|
||||
return executeReleaseGate({ ...options, mode: 'all' });
|
||||
throw new Error('impact release gate requires --deployed-commit');
|
||||
}
|
||||
|
||||
const catalog = await loadScenarioCatalog({ root: ROOT });
|
||||
@@ -390,7 +390,7 @@ export async function executeImpactReleaseGate(options) {
|
||||
...selectImpactScenarios({
|
||||
catalog,
|
||||
changedPaths,
|
||||
forceFullReasons: ancestry.code === 0
|
||||
blockingReasons: ancestry.code === 0
|
||||
? []
|
||||
: [`deployed_commit_not_ancestor:${options.deployedCommit}`],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user