Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
40 prioritized NestJS best practices across architecture, DI, security, performance, testing, and microservices.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
.github/workflows/branch-protection.yml
1name: Branch Protection23on:4pull_request:5branches: [main]67jobs:8check-branch:9runs-on: ubuntu-latest10steps:11- name: Block docs branch merge to main12if: github.head_ref == 'docs'13run: |14echo "::error::Merging 'docs' branch into 'main' is not allowed."15echo ""16echo "The 'docs' branch contains the documentation website which should"17echo "remain separate from the main skill files to keep installations lightweight."18echo ""19echo "If you need to sync changes, cherry-pick specific commits instead."20exit 12122- name: Branch check passed23if: github.head_ref != 'docs'24run: echo "Branch check passed - not merging from docs branch"25