Split the list of packages
You can split the list of packages.
e.g.
Directory structure
aqua.yaml
aqua/
conftest.yaml
aqua.yaml
registries:
- type: standard
ref: v2.22.0 # renovate: depName=aquaproj/aqua-registry
packages:
- import: aqua/*.yaml
aqua/conftest.yaml
packages:
- name: open-policy-agent/conftest@v0.28.2
This 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