Merge pull request #525 from AIOSAI/work/system-suppress-5-codeql-false-positives-and-enable-depen
feat(system): suppress 5 CodeQL false positives and enable Dependabot
This commit is contained in:
@@ -37,7 +37,7 @@ def _get_branch(file_path: str) -> str:
|
||||
|
||||
|
||||
def _block(reason: str) -> None:
|
||||
print(json.dumps({"decision": "block", "reason": reason}))
|
||||
print(json.dumps({"decision": "block", "reason": reason})) # lgtm[py/clear-text-logging-sensitive-data]
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ def step_secrets() -> None:
|
||||
secrets_dir.chmod(0o700)
|
||||
except OSError:
|
||||
pass # Best-effort on non-POSIX filesystems
|
||||
print(f" Created: {secrets_dir}")
|
||||
print(f" Created: {secrets_dir}") # lgtm[py/clear-text-logging-sensitive-data]
|
||||
|
||||
|
||||
def step_env() -> None:
|
||||
|
||||
@@ -37,7 +37,7 @@ def _get_branch(file_path: str) -> str:
|
||||
|
||||
|
||||
def _block(reason: str) -> None:
|
||||
print(json.dumps({"decision": "block", "reason": reason}))
|
||||
print(json.dumps({"decision": "block", "reason": reason})) # lgtm[py/clear-text-logging-sensitive-data]
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ def _get_branch(file_path: str) -> str:
|
||||
|
||||
|
||||
def _block(reason: str) -> None:
|
||||
print(json.dumps({"decision": "block", "reason": reason}))
|
||||
print(json.dumps({"decision": "block", "reason": reason})) # lgtm[py/clear-text-logging-sensitive-data]
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ def _get_branch(file_path: str) -> str:
|
||||
|
||||
|
||||
def _block(reason: str) -> None:
|
||||
print(json.dumps({"decision": "block", "reason": reason}))
|
||||
print(json.dumps({"decision": "block", "reason": reason})) # lgtm[py/clear-text-logging-sensitive-data]
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user