mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-09 13:44:58 -05:00
Compare commits
No commits in common. "8ebf2bf9e1a44da5b30db57ed423afb02c055967" and "2b97ed4529d31d5f1c748b7e1b3a875bd01b2668" have entirely different histories.
8ebf2bf9e1
...
2b97ed4529
38
.github/workflows/format.yml
vendored
38
.github/workflows/format.yml
vendored
@ -1,38 +0,0 @@
|
||||
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: 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 CI
|
||||
run: biome ci
|
||||
|
||||
- name: Run Biome
|
||||
run: biome format --write ./src
|
||||
|
||||
- name: Push to GitHub
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
Loading…
Reference in New Issue
Block a user