About GitHub
GitHub is a code hosting platform for version control and collaboration, offering Git-based repository management, issue tracking, and continuous integration features
Say what should happen in GitHub, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
GitHub is a code hosting platform for version control and collaboration, offering Git-based repository management, issue tracking, and continuous integration features
Through its API, with the provider’s credentials and permissions.
Through its MCP server, where its tools and permissions fit the job.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the GitHub workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverMost GitHub automations fall into two types. Some react to something that happened in a repository, such as a pull request being opened, an issue being labeled, or a release being published. Others collect state across many repositories on a schedule: stale pull requests, issues without an owner, or releases since the last report. GitHub repository and organization webhooks deliver the first type as events. The second type reads the REST or GraphQL API and has to page through results, because list endpoints return a limited number of items per request.
Two catalogue templates use GitHub as context for operations decisions. The alert-triage brief takes an alert from a monitoring tool, pulls recent commits and open issues for the affected service, drafts a remediation plan, and files it in ClickUp before paging PagerDuty and posting to Slack. The deployment-window brief reads recent releases from one named repository, checks a Google Calendar for conflicts, and places a tentative hold. In both, GitHub is only read. That makes a read-only token a sensible starting point.
Plan permissions at repository level. A fine-grained personal access token is limited to selected repositories and lists specific permissions such as Issues, Pull requests, or Contents. A GitHub App installation can be approved by an organization without being tied to one person's account. Organization owners can require approval before fine-grained tokens can access their repositories. Until a token is approved, it can only read public resources, so a token that works on your own repositories may still see nothing in company ones.
Rate limits matter more than people expect. Authenticated REST requests have an hourly limit, and secondary limits apply to bursts of requests and to content creation such as many comments or issues in a short time. A nightly report covering fifty repositories should request only the fields it needs and avoid fetching every commit. For runs started by webhooks, record the issue or pull request number you have handled, so that if the same event arrives again it is not handled twice.
Starter briefs to set up with your accounts, not finished workflows.
Based on the alert-triage template: GitHub supplies recent commits and open issues as context for the plan.
A scheduled read across a fixed set of repositories. It lists pull requests with no recent activity, and the threshold is stated explicitly.
An event-driven tidy-up using a fixed rule table, so the same issue text always gets the same labels.
Real briefs for this app. Pick one; Whenever writes it for your accounts.
Takes each monitoring alert, gathers recent repository context, drafts a remediation plan, and hands it to the on-call engineer.
Weighs recent releases, open incidents and team calendars to suggest the lowest-risk deployment slot and holds it on the calendar.
A fine-grained personal access token is quickest for your own repositories and can be limited to specific repositories and permissions. A GitHub App suits organization repositories because an owner installs it and its access is not tied to one employee's account.
Organizations can block fine-grained tokens or require approval, and a pending token can only read public resources. Organizations that use SAML single sign-on also require you to authorize a classic token. Check the organization's token policy before assuming the workflow is wrong.
Personal tokens get 5,000 REST requests an hour. Secondary limits cap concurrent requests and content creation, roughly 80 content-creating requests a minute. The x-ratelimit headers show what remains. Large reports should read only the fields they need, and GraphQL can return nested data in fewer requests.
Use a repository or organization webhook when each event needs a response, for example labeling a newly opened issue. Use a schedule for summaries over time. A schedule starts a run every time, even when nothing changed.
GitHub lists gaps, including access to several organizations with one token, the Checks API, Packages, and contributing to repositories where you are an outside collaborator. For those cases, use a classic token or a GitHub App.
One workflow free. No card. Weekly AI-building limits.