github-ops
Installation
SKILL.md
github-ops
GitHub REST API integration for managing repositories, issues, pull requests, and Actions workflows.
Setup
- Create a Personal Access Token at https://github.com/settings/tokens
- Required scopes:
repo,workflow,read:user(minimum) - Store in environment:
GH_TOKEN=ghp_xxx
API Basics
All requests need:
curl -H "Authorization: Bearer $GH_TOKEN" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/...