Skip to content

feat: add security CI workflow and update docs#2

Merged
merlinsbeard merged 2 commits into
mainfrom
feat/security-ci-and-docs
Feb 14, 2026
Merged

feat: add security CI workflow and update docs#2
merlinsbeard merged 2 commits into
mainfrom
feat/security-ci-and-docs

Conversation

@merlinsbeard

Copy link
Copy Markdown
Owner

Summary

  • Add GitHub Actions security workflow (.github/workflows/security.yml) with 4 parallel jobs:
    • Secret scanning - gitleaks detects leaked tokens, API keys, passwords
    • ShellCheck - lints install.sh, deploy.sh, zshrc for unsafe shell patterns
    • Dangerous patterns - flags rm -rf /, chmod 777, curl | sudo, etc.
    • Syntax validation - runs bash -n and zsh -n on scripts
  • Update AGENTS.md with CI section, .github/ in file structure, and dangerous patterns pitfall
  • Trim CLAUDE.md by removing redundant config table and adding CI convention note

- Add GitHub Actions workflow with gitleaks secret scanning, ShellCheck
  linting, dangerous pattern detection, and shell syntax validation
- Update AGENTS.md with CI section, .github in file structure, and
  dangerous patterns pitfall
- Trim CLAUDE.md by removing redundant config table and adding CI note
- Fix curl.*|.*sudo regex to use escaped pipe (literal match, not OR)
- Remove unused YELLOW color variable from install.sh
- Replace tilde with $HOME in deploy.sh display strings (SC2088)
- Exclude zshrc from ShellCheck (zsh/oh-my-zsh patterns cause false positives)
@merlinsbeard
merlinsbeard merged commit 908a13b into main Feb 14, 2026
4 checks passed
@merlinsbeard
merlinsbeard deleted the feat/security-ci-and-docs branch February 14, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant