mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 18:34:59 -05:00
24 lines
528 B
YAML
24 lines
528 B
YAML
name: Format MHSF using Biomejs
|
|
|
|
# Trigger on new commits
|
|
on:
|
|
push:
|
|
branches: '**'
|
|
|
|
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
|