Feature
#382 #383 Support splitting packages definition with import
e.g.
Directory structure
aqua.yaml
aqua/
conftest.yaml
aqua.yaml
registries:
- type: standard
ref: v0.10.5 # renovate: depName=suzuki-shunsuke/aqua-registry
- import: aqua/*.yaml
aqua/conftest.yaml
packages:
- name: open-policy-agent/conftest@v0.28.2
import
is useful for CI.
You can execute test and lint only when the specific package is updated.
ex. GitHub Actions' on.<push|pull_request>.paths
name: conftest
on:
pull_request:
paths:
- policy/**.rego
- aqua/conftest.yaml