Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
chore: add actionlint as pre-commit step
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys authored and Artem Rys committed Sep 17, 2021
1 parent 437745f commit 52ac6f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install actionlint
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.3/scripts/download-actionlint.bash)
- uses: pre-commit/[email protected]

review_secrets:
Expand Down
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@ repos:
rev: 3.9.2
hooks:
- id: flake8
- repo: local
hooks:
- id: actionlint
name: actionlint
entry: actionlint
args: [-ignore, 'property ".+" is not defined in object type']
language: script
types: ["yaml"]
files: ^.github/workflows/

0 comments on commit 52ac6f8

Please sign in to comment.