gitlab-protected-branch
Installation
SKILL.md
Protected Branch Skill
Branch protection management for GitLab using glab api raw endpoint calls.
Quick Reference
| Operation | Command Pattern | Risk |
|---|---|---|
| List protected | glab api projects/:id/protected_branches |
- |
| Get protection | glab api projects/:id/protected_branches/:name |
- |
| Protect branch | glab api projects/:id/protected_branches -X POST -f ... |
⚠️ |
| Update protection | glab api projects/:id/protected_branches/:name -X PATCH -f ... |
⚠️ |
| Unprotect branch | glab api projects/:id/protected_branches/:name -X DELETE |
⚠️⚠️ |
Risk Legend: - Safe | ⚠️ Caution | ⚠️⚠️ Warning | ⚠️⚠️⚠️ Danger