Class ChecksAction


  • public class ChecksAction
    extends Object
    An action of a check. It can be used to create actions like re-run or automatic formatting.
    • Constructor Detail

      • ChecksAction

        public ChecksAction​(@CheckForNull
                            String label,
                            @CheckForNull
                            String description,
                            @CheckForNull
                            String identifier)
        Creates a ChecksAction using the given parameters.

        Note that for a GitHub check run, the label, description, and identifier must not exceed 20, 40, and 20 characters.

        Parameters:
        label - the text to be displayed on a button in web UI
        description - a short explanation of what this action would do
        identifier - a reference for the action on the integrator's system