Reusable GitHub Actions and workflows for Blueshoe projects.
| Action | Description | Docs |
|---|---|---|
| eslint-js-prefix | Enforce js- prefix for DOM selectors | Details |
| security-gitleaks | Secret detection | 🔜 Planned |
| security-python-audit | Python dependency vulnerabilities | 🔜 Planned |
Enforces that JavaScript DOM selectors use a js- prefix to decouple your code from CSS frameworks.
// ❌ Breaks when CSS framework updates
document.querySelector('.btn-danger')
// ✅ Independent of CSS
document.querySelector('.js-delete-button')- uses: Blueshoe/pipeline-kit/actions/eslint-js-prefix@v1# Custom prefix
- uses: Blueshoe/pipeline-kit/actions/eslint-js-prefix@v1
with:
prefix: 'hook-'
# Additional allowed patterns
- uses: Blueshoe/pipeline-kit/actions/eslint-js-prefix@v1
with:
allowed-patterns: '["^my-component-"]'
# Warn instead of fail
- uses: Blueshoe/pipeline-kit/actions/eslint-js-prefix@v1
with:
severity: 'warn'
# Specific directory
- uses: Blueshoe/pipeline-kit/actions/eslint-js-prefix@v1
with:
working-directory: './frontend'📖 Full Documentation – All inputs, outputs, framework detection, and examples.
# Recommended: Latest v1.x.x
uses: Blueshoe/pipeline-kit/actions/eslint-js-prefix@v1
# Pinned version
uses: Blueshoe/pipeline-kit/actions/eslint-js-prefix@v1.2.3- Fork & create feature branch
- Make changes
- Run tests:
cd actions/eslint-js-prefix/plugin && npm test - Submit PR
We use Conventional Commits:
fix:→ Patch (v1.0.0 → v1.0.1)feat:→ Minor (v1.0.0 → v1.1.0)feat!:→ Major (v1 → v2)
MIT