Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Match PR Label

Actions
Requires a PR to exactly one of the labels from a list
v1
Star (18)

Tags

 (1)

Match Label Action

This action locates one of a given list of labels in the labels active on the workflow PR. You can use this to change what actions run when a PR merges, for instance.

Inputs

allowed

Required The labels to look for. Separate via commas or newlines (using a block string).

Outputs

match

The one label from the allowed list that was located. The action will fail if no labels matched or more than one was found.

Example usage

uses: zwaldowski/match-label-action@v1
with:
  allowed: >
    major
    minor
    patch

Match PR Label is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Requires a PR to exactly one of the labels from a list
v1

Tags

 (1)

Match PR Label is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.