GitHub App vs OAuth App vs GitHub Action
Before registering an integration, confirm that a GitHub App fits your architecture. GitHub's guide on deciding when to build a GitHub App and comparison with OAuth apps show why security-conscious teams strongly prefer GitHub Apps.
| Capability | GitHub App | OAuth App | GitHub Action |
|---|---|---|---|
| Permissions | Fine-grained per resource, scoped to selected repositories | Broad scopes (such as full repo) across all user repos |
Scoped to the workflow repo via GITHUB_TOKEN |
| Runtime | Persistent server reacting to GitHub and external events | Server acting on behalf of an authorized user | Ephemeral jobs on GitHub-hosted or self-hosted runners |
| Tokens | Short-lived (JWT max 10 min; installation tokens expire in 1 hour) | Valid until explicitly revoked | Scoped to one workflow run |
| Webhooks & limits | Built-in centralized webhooks; rate limits scale with installs | Per-repo webhooks; lower, fixed rate limits | Triggered by repo workflow YAML events |
Choose a GitHub App for hosted SaaS tools, multi-repository automations, or the check runs and check suites REST API (exclusive to GitHub Apps). GitHub Apps do not consume a GitHub seat and stay installed even when the person who added them leaves the organization. Choose a GitHub Action when your tool runs ephemerally inside one repo's CI pipeline. Pick an OAuth app only if you must access enterprise-level endpoints such as GET /enterprise/settings/license, which GitHub Apps cannot request.
Permissions, Authentication and Webhook Security
Security teams inspect every permission prompt before granting access to private code. Under GitHub's permission guidelines, GitHub Apps start with zero permissions across repository, organization, enterprise and account scopes. Request the minimum needed: for instance, request Repository creation instead of broad Administration access if you only create repos, and explain sensitive permissions on your homepage. Whenever you add permissions later, GitHub prompts every installed account owner to re-approve; until they do, those installations stay on the old permissions.
GitHub's authentication model supports three modes: authenticating as the app via a signed JWT (10-minute max lifetime), as an installation via a one-hour installation access token, or on behalf of a user so actions stay bounded by that user's permissions. Note one 2026 detail in GitHub's installation token docs: starting April 27, 2026, GitHub began rolling out a stateless token format (ghs_APPID_JWT), so never hardcode a 40-character token length check.
Configure a high-entropy webhook secret and follow GitHub's webhook validation guide on every POST delivery:
- Check the HMAC signature: Compute the SHA-256 HMAC hex digest of the raw UTF-8 body using your secret, prepend
sha256=, and verify it againstX-Hub-Signature-256. - Compare in constant time: Use
crypto.timingSafeEqualorsecure_compareinstead of==to avoid timing leaks. - Handle deliveries reliably: Per GitHub's Marketplace webhook docs, GitHub does not resend failed Marketplace webhook deliveries, so validate and persist events before acknowledging.
GitHub Marketplace Free vs Paid Requirements
You can distribute a GitHub App via its direct install URL or publish it on GitHub Marketplace for catalog discovery and native GitHub billing. The Marketplace listing requirements separate baseline rules from paid-plan gates.
Baseline rules (all apps): Your app must be publicly installable (not invite-only or public preview), integrate beyond authentication, avoid steering people away from GitHub, accept the Developer Agreement, and provide publisher contact details, a privacy policy URL, a support URL or email, and working optional links. Even free-only apps must configure a pricing plan and handle marketplace_purchase webhooks for purchases and cancellations. For organization-owned apps, only organization owners (not GitHub App managers) can create and submit listings.
Additional gates for paid plans:
- Verified organization publisher: Personal accounts cannot sell paid plans. Transfer the app to an organization and complete publisher verification (accurate profile and contact email, organization-wide 2FA, and a verified domain badge).
- 100-installation threshold: GitHub Apps need at least 100 installations (200 users for OAuth apps) before publishing paid plans. If you sell a paid version outside Marketplace, GitHub requires offering at least one paid plan inside Marketplace once your free listing meets paid-app requirements.
- Pricing and trials: Under GitHub's pricing plan docs, you can list up to 10 USD plans (free, flat-rate or per-unit), and every paid plan must support both monthly and annual billing. Optional free trials last 14 days (customers get notified on day 11, and private customer data must be deleted within 30 days of a canceled trial).
- Billing lifecycle: Per GitHub's customer billing rules, upgrades apply immediately with proration, while downgrades and cancellations take effect on the next billing cycle (
effective_date). Cancellations do not uninstall the app, so downgrade canceled accounts to your free plan if one exists.
Under GitHub's payout terms, GitHub retains a 5% transaction fee and remits 95% in USD. Electronic payouts arrive at the end of the following month once monthly revenue reaches at least $500 USD.
Listing Assets, Copy Rules and Approval Flow
Set your app to public so List in Marketplace appears in Developer Settings, or open github.com/marketplace/new via GitHub's draft listing workflow. GitHub recommends individual email addresses in the contact info section so payout and policy updates reach a real owner.
Follow the copy and image standards in Writing a listing description for your app:
- Name and short description: Names allow up to 255 characters and cannot match another GitHub account. Keep the very short description to 40-80 characters in sentence case, with no trailing period, no call-to-action verb, no repeated app name, and without calling community members "users".
- Long descriptions and categories: Write a 150-250 character introductory summary starting with your app's name, plus an optional detailed description (up to 1,000 characters) using 3-5 level-three Markdown headings in sentence case without end punctuation. Pick a primary category, optional secondary category, and up to 10 languages.
- Logo and feature card: Upload a square transparent PNG logo at least 200 x 200 px with no text (rendered in a circular badge) and a custom feature card background at 965 x 482 px with high-contrast text color.
- Screenshots: Upload up to five screenshots at least 1200 px wide, all matching in aspect ratio, with browser toolbars cropped out.
When your draft and webhook endpoint are ready, open Overview, accept the Developer Agreement and click Request publish as described in Submitting your listing for publication. A GitHub onboarding expert will reach out for review and paid financial onboarding; GitHub does not publish a fixed review timeframe. Note that published pricing plans cannot be edited later, and you must delete the Marketplace listing before deleting the GitHub App.
How to Reach 100 Installs and Launch Beyond Marketplace
Because paid GitHub Marketplace plans require 100 installations, optimize your launch for single-repo trials on a clean free tier rather than chasing enterprise contracts on day one.
- Make public repositories free: Open-source maintainers gladly test a least-privilege app on one public repo. Pair your rollout with our open-source launch guide.
- Show a real PR output above the fold: Link a live example pull request alongside a short clip of your check run or comment; see our product demo video guide.
- Reach out to 15-20 active maintainers: Find repositories hitting the exact workflow problem you solve and offer a zero-pressure trial on one repo:
"Hi Maintainer Name,
I noticed Repository Name has been running into specific workflow problem. I built App Name, a free GitHub App that one-line concrete outcome using read-only access to specific permission.
Here is an example pull request showing what it posts: Example PR URL. Happy to help if you want to try it on one repo, no pressure either way."
Stack developer distribution once your free listing goes live. Check our GitHub Marketplace profile, launch on DevHunt, publish a technical Show HN post, and list on Hauntboard via Submit Launch (reviewed by a person in about 72 hours free or within 24 hours paid, with public visit counts). Verify every asset with our launch checklist and follow how to track launch traffic to see which channels drive real repo installs.
Frequently Asked Questions
Can I list a free GitHub App from my personal account?
Yes. Personal accounts can register public GitHub Apps and publish free Marketplace listings. To add paid plans or earn a verified publisher badge, transfer the app to a GitHub organization and complete publisher verification as an organization owner.
Do free-only Marketplace apps still need webhook handling?
Yes. Every GitHub Marketplace app, including free-only listings, must handle marketplace_purchase webhooks for new purchases and cancellations. Upgrade, downgrade and free-trial handlers are only required once you add paid plans.
Should I wait for 100 installations before listing on GitHub Marketplace?
No. Publish your free listing as soon as your app is stable and meets baseline rules. Listing early gives teams an official install page, builds toward the 100-installation threshold, and prepares your catalog presence before turning on paid plans.
What happens when a customer cancels a paid Marketplace plan?
The paid tier stays active until the end of the billing cycle, when GitHub sends a cancellation webhook on the effective date. Canceling does not uninstall the app, so automatically downgrade the account to your free plan if one exists.