diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 36da88c..c86acfd 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -16,8 +16,20 @@ jobs: - name: Setup Biome CLI uses: biomejs/setup-biome@v2 + - name: Clone MHSF + uses: GuillaumeFalourd/clone-github-repo-action@v2.3 + with: + depth: 1 + branch: 'main' + owner: 'DeveloLongScript' + repository: 'MHSF' + + - name: Access cloned repository content + run: | + cd MHSF + - name: Run Biome run: biome format ./src - + - name: Push to GitHub uses: stefanzweifel/git-auto-commit-action@v5