diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 276b211..4bfacab 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -13,10 +13,6 @@ jobs: # added or changed files to the repository. contents: write steps: - - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - - name: Setup Biome CLI uses: biomejs/setup-biome@v2 @@ -30,6 +26,10 @@ jobs: - name: Run Biome run: biome format --write MHSF/src + + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Push to GitHub uses: stefanzweifel/git-auto-commit-action@v5