Class Stale

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:43.088Z")
    @Stability(Experimental)
    public class Stale
    extends Component
    (experimental) Warns and then closes issues and PRs that have had no activity for a specified amount of time.

    The default configuration will:

    • Add a "Stale" label to pull requests after 14 days and closed after 2 days
    • Add a "Stale" label to issues after 60 days and closed after 7 days
    • If a comment is added, the label will be removed and timer is restarted.

    See Also:
    https://github.com/actions/stale
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Stale.Builder
      (experimental) A fluent builder for Stale.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        Stale​(GitHub github)  
        Stale​(GitHub github, StaleOptions options)  
      protected Stale​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected Stale​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • Stale

        protected Stale​(software.amazon.jsii.JsiiObjectRef objRef)
      • Stale

        protected Stale​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • Stale

        @Stability(Experimental)
        public Stale​(@NotNull
                     GitHub github,
                     @Nullable
                     StaleOptions options)
        Parameters:
        github - This parameter is required.
        options -
      • Stale

        @Stability(Experimental)
        public Stale​(@NotNull
                     GitHub github)
        Parameters:
        github - This parameter is required.