Skip to content

deps:(deps): bump pyright from 1.1.363 to 1.1.374 #241

deps:(deps): bump pyright from 1.1.363 to 1.1.374

deps:(deps): bump pyright from 1.1.363 to 1.1.374 #241

name: automerge-bot-prs
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot-automerge:
runs-on: ubuntu-latest
# if actor is dependabot or pre-commit-ci[bot] then run
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}}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto approve dependabot PRs
if: ${{ github.actor == 'dependabot[bot]' }}
uses: hmarr/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}