Skip to content

Commit

Permalink
yaml lint (#151)
Browse files Browse the repository at this point in the history
* yaml lint

* removed go actions
  • Loading branch information
danbryan committed Jul 13, 2023
1 parent bac8dd2 commit 943bdae
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: pre-commit checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
push:
branches:
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
# This will tell git to always run the pre-commit hook, even if the commit is a fast-forward
if: always()
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml

0 comments on commit 943bdae

Please sign in to comment.