Skip to content

Commit

Permalink
Add Precommit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DLu committed Nov 30, 2023
1 parent f3123b4 commit e5e7ee6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
3 changes: 1 addition & 2 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ rules:
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning
truthy: disable

0 comments on commit e5e7ee6

Please sign in to comment.