From 1918acfe076d3f4d373d2bd2cf75e26a14dc7e43 Mon Sep 17 00:00:00 2001 From: Julien Tanay Date: Tue, 5 Mar 2024 17:23:06 +0100 Subject: [PATCH] chore: update snapshot when updating rules via dependabot --- .github/workflows/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index c6bf281e..f36d3ae9 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -46,7 +46,13 @@ jobs: - name: Bump oxlint rules run: | + # Generate rules from latest oxlint pnpm run generate + + # Update test snapshots + pnpm run test -u + + # Commit and push changes git config --global user.name "dependabot[bot]" git config --global user.email "49699333+dependabot[bot]@users.noreply.github.com" git commit -am "feat(oxlint): bump oxlint rules"