Skip to content

Commit

Permalink
chore: add github actions pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Sasák committed Jun 27, 2023
1 parent c2b1cdf commit 941fdda
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pre-Commit Check

on:
push:
branches:
- "master"
- "stable"
pull_request:
branches:
- "master"
- "stable"

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Pre-Commit
uses: pre-commit/action@3.3.3

0 comments on commit 941fdda

Please sign in to comment.