pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.9,filelock==3.18.0,identify==2.6.12,nodeenv==1.9.1,pip==25.1.1,platformdirs==4.3.8,pre_commit==4.2.0,PyYAML==6.0.2,setuptools==80.3.1,virtualenv==20.31.2 pre-commit: commands[0]> pre-commit run --all-files --show-diff-on-failure [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing argo/infra/chartmuseum.yaml Fixing argo/argocd/argocd.yaml Fixing argo/infra/values/trivy-dojo-report-operator.yaml Tabs remover.............................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/argo/argocd/argocd.yaml b/argo/argocd/argocd.yaml index b42045803..f966cee74 100644 --- a/argo/argocd/argocd.yaml +++ b/argo/argocd/argocd.yaml @@ -17,7 +17,7 @@ spec: helm: ignoreMissingValueFiles: true valueFiles: - - $defaultValues/argo/argocd/values/argocd.yaml + - $defaultValues/argo/argocd/values/argocd.yaml destination: server: https://kubernetes.default.svc namespace: argocd diff --git a/argo/infra/chartmuseum.yaml b/argo/infra/chartmuseum.yaml index b8cdf1d67..1f6fefd49 100644 --- a/argo/infra/chartmuseum.yaml +++ b/argo/infra/chartmuseum.yaml @@ -17,7 +17,7 @@ spec: helm: ignoreMissingValueFiles: true valueFiles: - - $defaultValues/argo/infra/values/chartmuseum.yaml + - $defaultValues/argo/infra/values/chartmuseum.yaml destination: server: https://kubernetes.default.svc namespace: chartmuseum diff --git a/argo/infra/values/trivy-dojo-report-operator.yaml b/argo/infra/values/trivy-dojo-report-operator.yaml index 6b41bd568..7e9b6faaa 100644 --- a/argo/infra/values/trivy-dojo-report-operator.yaml +++ b/argo/infra/values/trivy-dojo-report-operator.yaml @@ -1,5 +1,5 @@ defectDojoApiCredentials: - apiKey: "2e5af2a04069492ea63cbd593efccfd4b2758b77" + apiKey: "2e5af2a04069492ea63cbd593efccfd4b2758b77" url: "http://defectdojo-django.defectdojo" #url: "https://defectdojo." pre-commit: exit 1 (11.53 seconds) /w/workspace/oom-master-pre-commit-lint> pre-commit run --all-files --show-diff-on-failure pid=2262 pre-commit: FAIL code 1 (15.17=setup[3.64]+cmd[11.53] seconds) evaluation failed :( (15.39 seconds)