Skip to content

chore(deps): bump @testing-library/jest-dom from 6.9.1 to 7.0.1 #347

chore(deps): bump @testing-library/jest-dom from 6.9.1 to 7.0.1

chore(deps): bump @testing-library/jest-dom from 6.9.1 to 7.0.1 #347

name: Dependabot Auto-format
on:
pull_request:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
auto-fmt:
name: Auto-format Dependabot PRs
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout PR branch
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup pnpm
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Run oxfmt
run: node --run format
- name: Setup Rust
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
with:
toolchain: 1.96.0
components: rustfmt
- name: Run cargo fmt
run: cargo fmt --manifest-path src-tauri/Cargo.toml
- name: Commit formatting changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
if git diff --cached --quiet; then
echo "No formatting changes needed"
else
git commit -m "style: auto-format code"
git push
fi