- enforce pre-commit is run for all pull-requests - fix end-of-line for existing files
This commit is contained in:
parent
72a892eb14
commit
6de7cc3758
9
.woodpecker/pre-commit.yaml
Normal file
9
.woodpecker/pre-commit.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: pre-commit
|
||||||
|
image: git.unkin.net/unkin/almalinux9-base:latest
|
||||||
|
commands:
|
||||||
|
- dnf install uv kustomize kubeconform helm -y
|
||||||
|
- uvx pre-commit run --all-files
|
||||||
@ -3,4 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- platform.yaml
|
- platform.yaml
|
||||||
|
|||||||
@ -3,4 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- platform.yaml
|
- platform.yaml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user