build(deps): update dependency git to v2.51.0 #1576
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: autofix.ci # needed to securely identify the workflow | |
on: | |
pull_request: | |
push: | |
branches: ["master"] | |
permissions: | |
contents: read | |
env: | |
# renovate: datasource=github-tags depName=devbox packageName=jetify-com/devbox | |
DEVBOX_VERSION: "0.16.0" | |
jobs: | |
autofix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
# Install Devbox | |
- name: Install devbox | |
uses: jetify-com/[email protected] | |
with: | |
devbox-version: ${{ env.DEVBOX_VERSION }} | |
enable-cache: "true" | |
# Autoformat and try to push back changes | |
- run: devbox run -- uv run pre-commit run -a --show-diff-on-failure | |
continue-on-error: true | |
# HACK https://github.com/autofix-ci/action/pull/15 | |
- run: devbox run -- uv run pre-commit uninstall -t pre-commit -t commit-msg | |
- uses: autofix-ci/[email protected] | |
with: | |
commit-message: "style: autoformat with pre-commit" |