Interface DependabotOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DependabotOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.067Z") @Stability(Experimental) public interface DependabotOptions extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDependabotOptions.BuilderA builder forDependabotOptionsstatic classDependabotOptions.Jsii$ProxyAn implementation forDependabotOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DependabotOptions.Builderbuilder()default List<DependabotAllow>getAllow()(experimental) https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#allow.default List<String>getAssignees()(experimental) Specify individual assignees or teams of assignees for all pull requests raised for a package manager.default Map<String,DependabotGroup>getGroups()(experimental) https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups.default List<DependabotIgnore>getIgnore()(experimental) You can use theignoreoption to customize which dependencies are updated.default BooleangetIgnoreProjen()(experimental) Ignores updates toprojen.default List<String>getLabels()(experimental) List of labels to apply to the created PR's.default NumbergetOpenPullRequestsLimit()(experimental) Sets the maximum of pull requests Dependabot opens for version updates.default Map<String,DependabotRegistry>getRegistries()(experimental) Map of package registries to use.default List<String>getReviewers()(experimental) Specify individual reviewers or teams of reviewers for all pull requests raised for a package manager.default DependabotScheduleIntervalgetScheduleInterval()(experimental) How often to check for new versions and raise pull requests.default VersioningStrategygetVersioningStrategy()(experimental) The strategy to use when edits manifest and lock files.
-
-
-
Method Detail
-
getAllow
@Stability(Experimental) @Nullable default List<DependabotAllow> getAllow()
(experimental) https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#allow.Use the allow option to customize which dependencies are updated. This applies to both version and security updates.
Default: []
-
getAssignees
@Stability(Experimental) @Nullable default List<String> getAssignees()
(experimental) Specify individual assignees or teams of assignees for all pull requests raised for a package manager.Default: []
-
getGroups
@Stability(Experimental) @Nullable default Map<String,DependabotGroup> getGroups()
(experimental) https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups.You can create groups to package dependency updates together into a single PR.
Default: []
-
getIgnore
@Stability(Experimental) @Nullable default List<DependabotIgnore> getIgnore()
(experimental) You can use theignoreoption to customize which dependencies are updated.The ignore option supports the following options.
Default: []
-
getIgnoreProjen
@Stability(Experimental) @Nullable default Boolean getIgnoreProjen()
(experimental) Ignores updates toprojen.This is required since projen updates may cause changes in committed files and anti-tamper checks will fail.
Projen upgrades are covered through the
ProjenUpgradeclass.Default: true
-
getLabels
@Stability(Experimental) @Nullable default List<String> getLabels()
(experimental) List of labels to apply to the created PR's.
-
getOpenPullRequestsLimit
@Stability(Experimental) @Nullable default Number getOpenPullRequestsLimit()
(experimental) Sets the maximum of pull requests Dependabot opens for version updates.Dependabot will not open any new requests until some of those open requests are merged or closed.
Default: 5
-
getRegistries
@Stability(Experimental) @Nullable default Map<String,DependabotRegistry> getRegistries()
(experimental) Map of package registries to use.Default: - use public registries
-
getReviewers
@Stability(Experimental) @Nullable default List<String> getReviewers()
(experimental) Specify individual reviewers or teams of reviewers for all pull requests raised for a package manager.Default: []
-
getScheduleInterval
@Stability(Experimental) @Nullable default DependabotScheduleInterval getScheduleInterval()
(experimental) How often to check for new versions and raise pull requests.Default: ScheduleInterval.DAILY
-
getVersioningStrategy
@Stability(Experimental) @Nullable default VersioningStrategy getVersioningStrategy()
(experimental) The strategy to use when edits manifest and lock files.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.
-
builder
@Stability(Experimental) static DependabotOptions.Builder builder()
- Returns:
- a
DependabotOptions.BuilderofDependabotOptions
-
-