Merge pull request #3 from mannjaro/feature/embedding_model #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code quality | |
on: | |
push: | |
pull_request: | |
jobs: | |
quality: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Biome | |
uses: biomejs/setup-biome@v2 | |
with: | |
version: latest | |
- name: Run biome check | |
run: biome check **/*.ts --write | |
- name: Commit and push | |
continue-on-error: true | |
run: | | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
git config user.name github-actions[bot] | |
git add . | |
git commit -m "format by bot" | |
git push | |
- name: Run Biome | |
run: biome ci **/*.ts |