fastify / fastify/github-action-merge-dependabot
Action merges PRs with failed checks
- Dominant language
- JavaScript
- Stars
- 185
- Forks
- 41
- Avg merge
- 6h 6m
- Merged PRs (30d)
- 4
Description
### Prerequisites
- [x] I have written a descriptive issue title
- [x] 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.
Contributor guide
Assessment
This issue has not been assessed yet.