fix: feat: Woodpecker CI pipeline with ShellCheck + duplicate code detection (#45)
- Add .woodpecker/ci.yml: two-step pipeline (shellcheck + duplicate detection) - Add .woodpecker/detect-duplicates.py: sliding-window hash detection (5-line windows, 2+ files) plus grep-based anti-pattern checks (hardcoded CI_STATE, hardcoded WOODPECKER_REPO_ID). Runs as failure: ignore so CI stays green while findings are visible in logs. - Add .shellcheckrc: disable SC1090/SC1091 (dynamic source paths are intentional; all scripts use the same lib/env.sh pattern) - Update projects/disinto.toml: woodpecker_repo_id = 4, remove bypass comment Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
740bddb2db
commit
ee1af38390
4 changed files with 201 additions and 2 deletions
|
|
@ -9,8 +9,7 @@ repo_root = "/home/debian/dark-factory"
|
|||
primary_branch = "main"
|
||||
|
||||
[ci]
|
||||
# No Woodpecker CI for disinto yet — bash scripts, no build pipeline
|
||||
woodpecker_repo_id = 0
|
||||
woodpecker_repo_id = 4
|
||||
stale_minutes = 60
|
||||
|
||||
[services]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue