Skip to content

Support using other labels as criteria #129

@bkimbrough88

Description

@bkimbrough88

This action so far has been based on using the file path(s) to determine which labels to set, but would it be possible to also have it support labels that are already on the PR? My use case is that I want to add a label if the VERSION file has not been modified. However if the PR has the label skip-release, that file is no longer required to be modified, thus no additional labels should be produced.

One potential way for this to work would be something like this:

needs-version-bump:
  - all:
    - "!VERSION"
    - "!label:skip-release"

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logicneeds eyes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions