@Stability(value=Experimental) public static final class Dependabot.Builder extends Object implements software.amazon.jsii.Builder<Dependabot>
Dependabot.| Modifier and Type | Method and Description |
|---|---|
Dependabot |
build() |
static Dependabot.Builder |
create(GitHub github) |
Dependabot.Builder |
ignore(List<? extends DependabotIgnore> ignore)
(experimental) You can use the `ignore` option to customize which dependencies are updated.
|
Dependabot.Builder |
ignoreProjen(Boolean ignoreProjen)
(experimental) Ignores updates to `projen`.
|
Dependabot.Builder |
labels(List<String> labels)
(experimental) List of labels to apply to the created PR's.
|
Dependabot.Builder |
registries(Map<String,? extends DependabotRegistry> registries)
(experimental) Map of package registries to use.
|
Dependabot.Builder |
scheduleInterval(DependabotScheduleInterval scheduleInterval)
(experimental) How often to check for new versions and raise pull requests.
|
Dependabot.Builder |
versioningStrategy(VersioningStrategy versioningStrategy)
(experimental) The strategy to use when edits manifest and lock files.
|
@Stability(value=Experimental) public static Dependabot.Builder create(GitHub github)
github - This parameter is required.Dependabot.Builder.@Stability(value=Experimental) public Dependabot.Builder ignore(List<? extends DependabotIgnore> ignore)
The ignore option supports the following options.
Default: []
ignore - You can use the `ignore` option to customize which dependencies are updated. This parameter is required.this@Stability(value=Experimental) public Dependabot.Builder ignoreProjen(Boolean ignoreProjen)
This is required since projen updates may cause changes in committed files and anti-tamper checks will fail.
Projen upgrades are covered through the ProjenUpgrade class.
Default: true
ignoreProjen - Ignores updates to `projen`. This parameter is required.this@Stability(value=Experimental) public Dependabot.Builder labels(List<String> labels)
labels - List of labels to apply to the created PR's. This parameter is required.this@Stability(value=Experimental) public Dependabot.Builder registries(Map<String,? extends DependabotRegistry> registries)
Default: - use public registries
registries - Map of package registries to use. This parameter is required.this@Stability(value=Experimental) public Dependabot.Builder scheduleInterval(DependabotScheduleInterval scheduleInterval)
Default: ScheduleInterval.DAILY
scheduleInterval - How often to check for new versions and raise pull requests. This parameter is required.this@Stability(value=Experimental) public Dependabot.Builder versioningStrategy(VersioningStrategy versioningStrategy)
Default: VersioningStrategy.LOCKFILE_ONLY The default is to only update the lock file because package.json is controlled by projen and any outside updates will fail the build.
versioningStrategy - The strategy to use when edits manifest and lock files. This parameter is required.this@Stability(value=Experimental) public Dependabot build()
build in interface software.amazon.jsii.Builder<Dependabot>Copyright © 2021. All rights reserved.