opencode-workflow-guard 1.3.5 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/lib/utils.ts +1 -3
package/package.json
CHANGED
package/src/lib/utils.ts
CHANGED
|
@@ -136,8 +136,6 @@ export function unwrapShellCommand(command: string): string {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
export const SENSITIVE_ENV_KEYS = [
|
|
139
|
-
"GITHUB_TOKEN",
|
|
140
|
-
"GH_TOKEN",
|
|
141
139
|
"OPENAI_API_KEY",
|
|
142
140
|
"ANTHROPIC_API_KEY",
|
|
143
141
|
"OPENAI_KEY",
|
|
@@ -150,7 +148,7 @@ export const SENSITIVE_ENV_KEYS = [
|
|
|
150
148
|
"SLACK_TOKEN",
|
|
151
149
|
];
|
|
152
150
|
export const SENSITIVE_ENV_RE =
|
|
153
|
-
/^(AWS_|KUBE|OPENAI|ANTHROPIC|
|
|
151
|
+
/^(AWS_|KUBE|OPENAI|ANTHROPIC|GH_TOKEN|GITHUB_TOKEN|GOOGLE_|GCP_|AZURE_|SLACK_|NPM_|DOCKER_|KUBECONFIG)/;
|
|
154
152
|
|
|
155
153
|
export function getCleanEnv(): Record<string, string> {
|
|
156
154
|
const env: Record<string, string> = { ...(process.env as Record<string, string>) };
|