Keep configs in ~/.config/build-release/ and tool state in ~/.local/state/build-release/, under XDG_* where set
CI / tests (pull_request) Successful in 6m34s
CI / tests (pull_request) Successful in 6m34s
This commit is contained in:
@@ -30,7 +30,7 @@ def reviewer_breaches(call: Call, environ: typing.Mapping[str, str], home: str)
|
||||
kind = review_kind(call.given)
|
||||
if kind is None or not hands_rungs(environ):
|
||||
return []
|
||||
ladder = project_ladder(call.cwd, pathlib.Path(home))
|
||||
ladder = project_ladder(call.cwd, pathlib.Path(home), environ)
|
||||
if isinstance(ladder, Failure):
|
||||
return [unread(ladder, call.cwd)]
|
||||
project, worker, escape_and_impact = handed(environ, ladder)
|
||||
@@ -56,7 +56,7 @@ def skill_breaches(call: Call, environ: typing.Mapping[str, str], home: str) ->
|
||||
skill = text(call.given, "skill").lstrip("/").rsplit(":", 1)[-1]
|
||||
if skill not in SECURITY_SKILLS or not hands_rungs(environ) or opening_prompt(call.transcript).startswith(SECURITY_OPENER):
|
||||
return []
|
||||
ladder = project_ladder(call.cwd, pathlib.Path(home))
|
||||
ladder = project_ladder(call.cwd, pathlib.Path(home), environ)
|
||||
if isinstance(ladder, Failure):
|
||||
return [unread(ladder, call.cwd)]
|
||||
project, worker, _ = handed(environ, ladder)
|
||||
|
||||
Reference in New Issue
Block a user