Skip to content

Validate inputs #4

@simenandre

Description

@simenandre

I imagine it could be useful to validate along with the parsing.

Maybe our configuration could look something like this:

- uses: cobraz/setup-inputs@v1
  with:
    inputs: |
      tag:
        required: true
      service:
        required: true
      env:
        required: true

Right now, the action naively just takes and returns the inputs. With some inputs, we can ensure the inputs are there and exit early 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions