diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml deleted file mode 100644 index 7f35b34f..00000000 --- a/.github/workflows/automerge.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Dependabot and Pre-commit auto-merge - -on: - pull_request: - -permissions: - contents: write - -jobs: - auto-merge: - runs-on: ubuntu-latest - if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' }} - steps: - - name: Enable auto-merge for Dependabot and pre-commit-ci PRs - run: | - gh pr review --approve "$PR_URL" - gh pr merge --auto --merge "$PR_URL" - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 838b75a9..fa721375 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,16 +25,16 @@ repos: - id: python-no-log-warn - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.5 + rev: v0.14.9 hooks: - id: ruff-format - id: ruff-check - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.9.9 + rev: 0.9.17 hooks: - id: uv-lock - repo: https://github.com/executablebooks/mdformat - rev: 0.7.22 + rev: 1.0.0 hooks: - id: mdformat additional_dependencies: [ @@ -44,7 +44,7 @@ repos: ] files: (README\.md) - repo: https://github.com/executablebooks/mdformat - rev: 0.7.22 + rev: 1.0.0 hooks: - id: mdformat additional_dependencies: [