From 04c8d1bd3af0ffe30d4c969705c2d7ce43f4034f Mon Sep 17 00:00:00 2001 From: Isabel <71222764+isabelroses@users.noreply.github.com> Date: Mon, 13 Nov 2023 00:20:08 +0000 Subject: [PATCH] fix(ci/format): pull changes before pushing the formatted code (#305) --- .github/workflows/format.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a9ddb22b..bb48a864 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,6 +18,9 @@ jobs: - name: Format files run: npx prettier --write styles/**/*.css + - name: Pull changes + run: git pull + - name: Push changes uses: stefanzweifel/git-auto-commit-action@v5 with: