Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

[error]Could not find exactly one of the appropriate labels on the PR. #9

Description

@larryjoelane

I have added a label to a pr named patch and I receive the following error output.

output from action run:

Run zwaldowski/match-label-action@v1
  with:
    allowed: major minor patch
  
  env:
    SOLUTION_FILE: MySolution-Main.sln
    NUGET: C:\hostedtoolcache\windows\nuget.exe\5.4.0\x64/nuget.exe
##[error]Could not find exactly one of the appropriate labels on the PR.

steps from workflow:

     - name: bump version
        id: bump
        uses: zwaldowski/match-label-action@v1
        with:
          allowed: >
            major
            minor
            patch
      - name: output version
        id: next_version
        uses: zwaldowski/semver-release-action@v1
        with:
          bump: ${{ steps.bump.outputs.match }}
          github_token: ${{ secrets.GITHUB_TOKEN }}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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