Skip to content

.github/workflows/dependabot-auto-merge.yml #769

.github/workflows/dependabot-auto-merge.yml

.github/workflows/dependabot-auto-merge.yml #769

# Automatically merge Dependabot PRs when version comparison is within the range
# that is configured in .github/auto-merge.yml
name: Auto-Merge Dependabot PRs
on:
pull_request:
jobs:
auto-merge:
runs-on: ubuntu-latest

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

View workflow run for this annotation

GitHub Actions / .github/workflows/dependabot-auto-merge.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Check if PR should be auto-merged
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
# This must be a personal access token with push access
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}
# By default, squash and merge, so Github chooses nice commit messages
command: squash and merge