Skip to content

Build: Add automerge job workflow #1

Build: Add automerge job workflow

Build: Add automerge job workflow #1

Workflow file for this run

on:
pull_request:
jobs:
# https://github.com/fastify/github-action-merge-dependabot
automerge:

Check failure on line 6 in .github/workflows/automerge.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/automerge.yml

Invalid workflow file

The workflow is not valid. .github/workflows/automerge.yml (Line: 6, Col: 3): The workflow must contain at least one job with no dependencies.
name: Dependabot auto-merge
runs-on: ubuntu-20.04
needs:
- build-and-push-image
- test
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/[email protected]
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }}
with:
github-token: ${{ secrets.github-token }}
# vim:ft=yaml:et:ts=2:sw=2