Skip to content

ΒUG: Unable to bypass branch protection rules #200

@pantelis-karamolegkos

Description

@pantelis-karamolegkos

I use the action as follows

      - name: merge the PR
        uses: pascalgn/automerge-action@v0.15.5
        env:
          MERGE_ERROR_FAIL: true
          MERGE_LABELS: "${{ env.AUTOMERGE_LABEL }}"
          MERGE_COMMIT_MESSAGE: ${{ env.MERGE_COMMIT_MESSAGE }}
          MERGE_METHOD: ${{ env.MERGE_METHOD }}
          GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"

My repo settings:
Screenshot 2022-10-30 at 9 18 15 PM

the ${{ secrets.GH_TOKEN } is my PAT and I am a member of a team that can

dismiss pull request reviews

AND

Allow specified actors to bypass required pull requests

However merge fails:

...
2022-10-30T19:15:05.307Z INFO  Current PR status: mergeable_state: blocked
2022-10-30T19:15:05.307Z ERROR PR not ready to be merged after 6 tries

isn't that a bug?

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