Github Reporter

Summarize open pull requests for a repository and write a local report.

modiqo 42b3f1c 493 B Updated

File contents

GitHub Reporter

Fetch pull requests, then write a summary into the working tree.

curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
  https://api.github.com/repos/$OWNER/$REPO/pulls > build/pulls.json
jq -r '.[].title' build/pulls.json > build/titles.txt
git add build/titles.txt

See the GitHub REST reference for field names.

modiqo/skillspec/tree/main/fixtures/effects/github-reporter commit 42b3f1c136

Frequently asked questions

npx skillmds@latest add modiqo/github-reporter