Skip to content

chore: auto merge dependabot PRs #1

chore: auto merge dependabot PRs

chore: auto merge dependabot PRs #1

Workflow file for this run

name: Approve and auto-merge dep PRs
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
automerge:

Check failure on line 14 in .github/workflows/depdendabot.yml

View workflow run for this annotation

GitHub Actions / Approve and auto-merge dep PRs

Invalid workflow file

The workflow is not valid. .github/workflows/depdendabot.yml (Line: 14, Col: 3): The workflow must contain at least one job with no dependencies.
if: ${{ contains(github.head_ref, 'dependabot/npm_and_yarn') }}
needs: verify
runs-on: ubuntu-latest
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
steps:
- name: Approve PR
run: gh pr review --approve "$PR_URL"
- name: Enable auto merge
run: gh pr merge --auto --merge "$PR_URL"