Files
vimpack/.woodpecker/pre-commit.yaml
T
unkin-agent ca55c9dd9f
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Validate archive entries and stage inside the pack root
- Reject archive members that are absolute, escape via .., are special files, or link outside the destination, before anything is written

- Stage under the pack root so the swap is a same-filesystem rename, with an EXDEV copy fallback; propagate registry auth errors and validate dir_name
2026-09-05 16:32:47 +10:00

21 lines
500 B
YAML

when:
- event: pull_request
steps:
- name: pre-commit
image: alpine:3.21
commands:
- apk add --no-cache pre-commit git luacheck stylua
- git config --global --add safe.directory "$CI_WORKSPACE"
- pre-commit run --all-files --show-diff-on-failure
backend_options:
kubernetes:
serviceAccountName: vimpack-ci
resources:
requests:
memory: 512Mi
cpu: 1
limits:
memory: 2Gi
cpu: 2