Skip to content

MERGE_LABELS doesn't works #292

Open
@bitchecker

Description

@bitchecker

Hi,
I'm trying to set up this action and I configured like this:

      - id: automerge
        name: automerge
        uses: pascalgn/automerge-action@v0.16.4
        env:
          GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
          MERGE_LABELS: "enhancement,!wontfix"
          MERGE_METHOD: "merge"
          MERGE_REQUIRED_APPROVALS: "0"
          MERGE_DELETE_BRANCH: "true"

but I see that when action runs, in logs I see:

2025-05-25T22:19:56.934Z INFO  Event name: pull_request
2025-05-25T22:19:57.019Z INFO  Skipping PR update, required label missing: automerge
[...]
2025-05-25T22:20:27.498Z INFO  PR not ready to be merged after 6 tries
2025-05-25T22:20:27.498Z INFO  Action result: { mergeResult: 'merge_failed', pullRequestNumber: 52 }

It seems that automerge is always the only available choice on labels to enable merge.

Am I missing something?

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