Skip to content

Commit

Permalink
Create pre-commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Feb 14, 2024
1 parent d918c89 commit c716489
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Code

on:
pull_request:
push:
branches: [master]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pre-commit/[email protected]
with:
extra_args: --all-files
- uses: pre-commit-ci/[email protected]
if: always()
with:
msg: Apply pre-commit code formatting

0 comments on commit c716489

Please sign in to comment.