- Fix SC2164: add || exit 1 to bare cd in update-prompt.sh - Fix SC2155: separate declare and assign in env.sh, supervisor-poll.sh, dev-agent.sh - Fix SC2034: inline suppression for vars used by sourced helpers - Remove unused `mergeable` declaration, rename unused loop var to `_w` - Remove || true from shellcheck CI step — failures are now blocking Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
601 B
YAML
21 lines
601 B
YAML
# .woodpecker/ci.yml — Disinto CI pipeline
|
|
# Runs on every push and pull request.
|
|
#
|
|
# Steps:
|
|
# 1. shellcheck — lint all .sh files (warnings+errors)
|
|
# 2. duplicate-detection — report copy-pasted code blocks (non-blocking)
|
|
|
|
when:
|
|
event: [push, pull_request]
|
|
|
|
steps:
|
|
- name: shellcheck
|
|
image: koalaman/shellcheck-alpine:stable
|
|
commands:
|
|
- find . -name "*.sh" -not -path "./.git/*" -print0 | xargs -0 -r shellcheck --severity=warning
|
|
|
|
- name: duplicate-detection
|
|
image: python:3-alpine
|
|
commands:
|
|
- python3 .woodpecker/detect-duplicates.py
|
|
failure: ignore
|