mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 00:52:09 +00:00
adjustment: made secret-deletion opt in
This commit is contained in:
@@ -1364,7 +1364,7 @@ const syncSecretsGitHub = async ({
|
||||
}
|
||||
|
||||
const metadata = z.record(z.any()).parse(integration.metadata);
|
||||
if (!metadata.shouldDisableDelete) {
|
||||
if (metadata.shouldEnableDelete) {
|
||||
for await (const encryptedSecret of encryptedSecrets) {
|
||||
if (
|
||||
!(encryptedSecret.name in secrets) &&
|
||||
|
||||
Reference in New Issue
Block a user