Skip to content

Contextual validation of reporter flags #172

@leodido

Description

@leodido

Describe the feature or problem you’d like to solve

We have now --reporter (gh-pull-check,gh-pull-comment,gh-pull-review) and related flags (eg., --gh-pull-id, --gh-repo, etc.)

We need to build contextual validators so that --gh-* flags are only allowed when using the GitHub reporters.

Proposed solution

I propose to build 1 or more custom context validators on top of go-validator features.

Additional context

NONE

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions