Skip to content

[pre-commit.ci] pre-commit autoupdate #2

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #2

Workflow file for this run

name: Pre-commit updates auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if:
${{ github.event_name == 'pull_request' &&
github.event.pull_request.user.login == 'pre-commit-ci[bot]'}}
steps:
- name: Auto-merge PR
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}