mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 15:54:58 -05:00
Create format.yml
This commit is contained in:
parent
2b97ed4529
commit
a37f6bcf11
20
.github/workflows/format.yml
vendored
Normal file
20
.github/workflows/format.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Format MHSF using Biomejs
|
||||
|
||||
on: [pull_request_target, issues]
|
||||
|
||||
jobs:
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# Give the default GITHUB_TOKEN write permission to commit and push the
|
||||
# added or changed files to the repository.
|
||||
contents: write
|
||||
steps:
|
||||
- name: Setup Biome CLI
|
||||
uses: biomejs/setup-biome@v2
|
||||
|
||||
- name: Run Biome
|
||||
run: biome format ./src
|
||||
|
||||
- name: Push to GitHub
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
Loading…
Reference in New Issue
Block a user