Skip to content

chore(deps): bump filelock from 3.31.1 to 3.32.0 #1015

chore(deps): bump filelock from 3.31.1 to 3.32.0

chore(deps): bump filelock from 3.31.1 to 3.32.0 #1015

name: pre-commit.ci auto-merge (GitHub native)
on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]
permissions:
pull-requests: write
contents: write
jobs:
enable-automerge:
if: >-
${{
github.event.pull_request.state == 'open' &&
!github.event.pull_request.draft &&
github.event.pull_request.user.login == 'pre-commit-ci[bot]' &&
startsWith(github.event.pull_request.title, '[pre-commit.ci]')
}}
runs-on: ubuntu-latest
steps:
# Remove this step if your branch rules do NOT require approvals
- name: Approve PR (only if required by branch rules)
run: gh pr review "$PR_NUMBER" --approve --repo "$GITHUB_REPOSITORY"
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ secrets.AUTO_MERGE_PRE_COMMIT_CI }}
- name: Enable auto-merge (squash)
run: gh pr merge "$PR_NUMBER" --squash --auto --repo "$GITHUB_REPOSITORY"
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ secrets.AUTO_MERGE_PRE_COMMIT_CI }}