mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
feat: Add N8N_GIT_NODE_DISABLE_BARE_REPOS environment variable to allow users to disable bare repositories in Git Node (#19559)
This commit is contained in:
@@ -45,4 +45,10 @@ export class SecurityConfig {
|
||||
*/
|
||||
@Env('N8N_INSECURE_DISABLE_WEBHOOK_IFRAME_SANDBOX')
|
||||
disableWebhookHtmlSandboxing: boolean = false;
|
||||
|
||||
/**
|
||||
* Whether to disable bare repositories support in the Git node.
|
||||
*/
|
||||
@Env('N8N_GIT_NODE_DISABLE_BARE_REPOS')
|
||||
disableBareRepos: boolean = false;
|
||||
}
|
||||
|
||||
@@ -307,6 +307,7 @@ describe('GlobalConfig', () => {
|
||||
contentSecurityPolicy: '{}',
|
||||
contentSecurityPolicyReportOnly: false,
|
||||
disableWebhookHtmlSandboxing: false,
|
||||
disableBareRepos: false,
|
||||
},
|
||||
executions: {
|
||||
timeout: -1,
|
||||
|
||||
Reference in New Issue
Block a user