Skip to content

https://github.com/BjoernKW/Schematic/issues/82 #17

https://github.com/BjoernKW/Schematic/issues/82

https://github.com/BjoernKW/Schematic/issues/82 #17

name: Build and test
on:
push:
workflow_dispatch:
jobs:
dependabot-auto-merge:

Check failure on line 8 in .github/workflows/dependabot-auto-merge.yml

View workflow run for this annotation

GitHub Actions / Build and test

Invalid workflow file

The workflow is not valid. .github/workflows/dependabot-auto-merge.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
name: Automatically merge Dependabot PRs
needs: analyze
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}