Skip to content

Action merges PRs with failed checks #744

@profoundvision

Description

@profoundvision

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

?

Plugin version

3

Node.js version

?

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

?

Description

When using this action it automatically merges PRs where the checks have failed.
This doesn't seem like correct behaviour. I was considering using the auto approve + Github native auto merge but I think you need a premium account for this,
Also the 'needs' field seems to refer to jobs in the same action instead of other checks.

This is my config:

name: Dependabot auto-merge
on:
  push:
    branches:
      - main
  pull_request:

jobs:
  automerge:
    runs-on: ubuntu-latest

    permissions:
      pull-requests: write
      contents: write

    steps:
      - uses: fastify/github-action-merge-dependabot@v3

Link to code that reproduces the bug

?

Expected Behavior

I expect this action to only merge PRs where all checks passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions