Skip to content

Commit bb52c93

Browse files
committed
v1.4.1
Signed-off-by: Anders Eknert <[email protected]>
1 parent 5599643 commit bb52c93

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.4.1] - 2021-06-06
8+
### Changed
9+
- Fix "opa check" test to include all files.
10+
11+
## [1.4.0] - 2021-02-08
12+
### Changed
13+
- Include all files for test/verify, not just staged.
14+
715
## [1.3.0] - 2020-08-31
816
### Changed
917
- Removed unused python hooks.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Add the `pre-commit-opa` repo to the `.pre-commit-config.yaml` file in your git
1313
```yaml
1414
repos:
1515
- repo: https://github.com/anderseknert/pre-commit-opa
16-
rev: v1.4.0
16+
rev: v1.4.1
1717
hooks:
1818
- id: opa-fmt
1919
- id: opa-check
@@ -27,12 +27,12 @@ Once saved, run `pre-commit install` to install git pre-commit hooks.
2727
### Hooks available
2828

2929
#### `opa-fmt`
30-
Runs `opa fmt` on any rego file about to be commited.
30+
Runs `opa fmt` on any rego files in the repository.
3131

3232
Note that any files changed by this hook will need to be re-added (`git add`) to be included in the commit.
3333

3434
#### `opa-check`
35-
Runs `opa check` on any rego file about to be commited.
35+
Runs `opa check` on any rego files in the repository.
3636

3737
#### `opa-test`
3838
If rego files are present in commit, runs `opa test` in git root directory.

0 commit comments

Comments
 (0)