You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-29 21:48:14 +02:00
Split repo trusted setting (#4025)
This commit is contained in:
@@ -169,10 +169,10 @@ func WithTrustedClonePlugins(images []string) Option {
|
||||
}
|
||||
}
|
||||
|
||||
// WithTrusted configures the compiler with the trusted repo option.
|
||||
func WithTrusted(trusted bool) Option {
|
||||
// WithTrustedSecurity configures the compiler with the trusted repo option.
|
||||
func WithTrustedSecurity(trusted bool) Option {
|
||||
return func(compiler *Compiler) {
|
||||
compiler.trustedPipeline = trusted
|
||||
compiler.securityTrustedPipeline = trusted
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user