Skip to content

[CI] Split pytest into groups #2752

[CI] Split pytest into groups

[CI] Split pytest into groups #2752

name: Dependabot Pull Request Auto Merge
on: pull_request_target
jobs:
automerge:
name: Automerge Dependabot PRs
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2.1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Allow auto-merging for patch and minor updates if all checks pass
- name: Enable auto-merge for Dependabot PRs
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}