mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 19:35:00 -05:00
Update format.yml
This commit is contained in:
parent
ab2fb65da2
commit
f1b96e48db
11
.github/workflows/format.yml
vendored
11
.github/workflows/format.yml
vendored
@ -20,21 +20,12 @@ jobs:
|
|||||||
- name: Setup Biome CLI
|
- name: Setup Biome CLI
|
||||||
uses: biomejs/setup-biome@v2
|
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: Run Biome
|
- name: Run Biome
|
||||||
run: biome format --write MHSF/src
|
run: biome format --write./src
|
||||||
|
|
||||||
- name: Push to GitHub
|
- name: Push to GitHub
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
repository: ./MHSF
|
|
||||||
commit_message: Automatically format code commited
|
commit_message: Automatically format code commited
|
||||||
commit_user_name: Format Bot
|
commit_user_name: Format Bot
|
||||||
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user