-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a simple pre commit file to allow syntax checks of github actions
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
name: check for added large files | ||
description: prevents giant files from being committed. | ||
entry: check-added-large-files | ||
language: python | ||
stages: [commit, push, manual] | ||
exclude: ^tx | ||
|
||
- repo: local | ||
hooks: | ||
- id: actionlint | ||
name: actionlint | ||
entry: actionlint | ||
language: golang | ||
additional_dependencies: | ||
[github.com/rhysd/actionlint/cmd/[email protected]] | ||
types: [yaml] | ||
files: '^.github/workflows/' | ||
|
||
########## | ||
# pre-commit-ci config | ||
|
||
ci: | ||
autofix_commit_msg: | | ||
[pre-commit.ci] auto fixes from pre-commit.com hooks | ||
for more information, see https://pre-commit.ci | ||
autofix_prs: true | ||
autoupdate_branch: '' | ||
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate' | ||
autoupdate_schedule: weekly | ||
skip: [] | ||
submodules: false |