Skip to content

fix:(deps): update mypy requirement from <1.12,>=0.971 to >=0.971,<1.13 #373

fix:(deps): update mypy requirement from <1.12,>=0.971 to >=0.971,<1.13

fix:(deps): update mypy requirement from <1.12,>=0.971 to >=0.971,<1.13 #373

# GitHub action to automerge dependabot PRs. Only merges if tests pass due to branch protections in the repo.
name: automerge-dependabot-prs
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot-automerge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]'}}
steps:
# Checkout action is required for token to persist
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto approve dependabot PRs
if: github.actor == 'dependabot[bot]'
uses: hmarr/auto-approve-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}