Skip to content

Commit

Permalink
ci(core): add pre-commit to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebunetel committed Feb 19, 2024
1 parent a300aad commit 7709267
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check code quality

on:
pull_request:
push:
branches:
- main

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
with:
fetch-depth: 0
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files

0 comments on commit 7709267

Please sign in to comment.