Files
athens-proxy-charts/.gitea
volker.raschekandCopilot e09acf4f2a
Helm / helm-lint (push) Successful in 13s
Helm / helm-unittest (push) Successful in 17s
Release / publish-chart (push) Successful in 2m18s
style(scripts): harden add-annotations.sh to follow shell best practices
Apply shell scripting conventions to improve robustness and consistency:
- Enable `set -u` (nounset) to catch unset variable references early
- Add trap-based cleanup for temporary files instead of manual rm
- Use `readonly` for constants (CHART_FILE, RC_PATTERN)
- Replace `[ ]` with `[[ ]]` throughout for modern bash conditionals
- Use `read -r` to prevent backslash interpretation
- Use `${1:-}` / `${2:-}` for safe positional parameter access under nounset
- Normalize stderr redirect to `>&2`
- Remove `function` keyword, align `;;` in case statements

Co-authored-by: Copilot <copilot@github.com>
2026-08-16 19:28:53 +02:00
..