mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-08-14 14:01:17 -04:00
🐛 Add version stamp and grep -- guards in zz-act_runner.sh 🐛
Added `VERSION="202608031200-git"` matching the existing `##@Version` header, and added `--` before the pattern argument on all 15 grep invocations in the file (the header/version mismatch and several of the missing `--` guards were flagged by the `script-lint` agent; completeness check found the pattern repeated across the whole file, not just the originally-flagged subset). Also quoted the previously bare `grep` pattern at the former line 544 (`grep -v grep` -> `grep -v -- 'grep'`). - rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh: version stamp + grep -- fixes - TODO.AI.md: marked this finding fixed
This commit is contained in:
@@ -8,6 +8,15 @@ Verified clean by `script-lint` agent after fix.
|
||||
`[[ "$SERVER_ADDRESS" != *"://"* ]]`; grep call removed entirely so the missing `--` no longer
|
||||
applies.
|
||||
|
||||
## Lint cleanup done — version stamp and grep -- fixed (zz-act_runner.sh)
|
||||
|
||||
Verified clean by `script-lint` agent after fix.
|
||||
|
||||
- `rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh`: added `VERSION="202608031200-git"`
|
||||
matching the existing `##@Version` header; added `--` before the pattern argument on all 15 grep
|
||||
invocations in the file (not just the subset originally enumerated); quoted the bare `grep`
|
||||
pattern at the former line 544 (now `grep -v -- 'grep'`).
|
||||
|
||||
## New lint finding — line-length violation (start-runners)
|
||||
|
||||
Found by `script-lint` while verifying the fixes above; unrelated to those fixes, not yet actioned.
|
||||
|
||||
Reference in New Issue
Block a user