Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
22 lines
669 B
YAML
22 lines
669 B
YAML
# 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_target:
|
|
|
|
jobs:
|
|
auto-merge:
|
|
runs-on: ubuntu-latest
|
|
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 |