| Modifier and Type | Method and Description |
|---|---|
Stale |
build() |
static Stale.Builder |
create(GitHub github) |
Stale.Builder |
issues(StaleBehavior issues)
(experimental) How to handle stale issues.
|
Stale.Builder |
pullRequest(StaleBehavior pullRequest)
(experimental) How to handle stale pull requests.
|
Stale.Builder |
runsOn(List<String> runsOn)
(experimental) Github Runner selection labels.
|
@Stability(value=Experimental) public static Stale.Builder create(GitHub github)
github - This parameter is required.Stale.Builder.@Stability(value=Experimental) public Stale.Builder issues(StaleBehavior issues)
Default: - By default, stale issues with no activity will be marked as stale after 60 days and closed within 7 days.
issues - How to handle stale issues. This parameter is required.this@Stability(value=Experimental) public Stale.Builder pullRequest(StaleBehavior pullRequest)
Default: - By default, pull requests with no activity will be marked as stale after 14 days and closed within 2 days with relevant comments.
pullRequest - How to handle stale pull requests. This parameter is required.this@Stability(value=Experimental) public Stale.Builder runsOn(List<String> runsOn)
Default: ["ubuntu-latest"]
runsOn - Github Runner selection labels. This parameter is required.thisCopyright © 2021. All rights reserved.