Skip to content

GitHub App: a push to a game's repo updates it straight away - #30

Merged
dav3exe merged 3 commits into
startnextgen:mainfrom
Cybertron-HNG:main
Oct 25, 2026
Merged

dav3exe merged 3 commits into
startnextgen:mainfrom
Cybertron-HNG:main

Conversation

@dav3exe

@dav3exe dav3exe commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Blackburn0 and others added 3 commits October 25, 2026 14:41
- app/features/github_app (flag github_app): POST /github/webhook checks GitHub's
  signature (GITHUB_WEBHOOK_SECRET, raw body, constant-time compare), and a push
  to the game's branch (or the repo's default branch) republishes it in the
  background (GitHub waits only 10 seconds). The same push sent twice does
  nothing. Pings and installation events are answered and ignored.
- auto_update.update_to: the republish step, now shared by the regular check
  and the webhook (an update that can't go live is shown to the owner; a GitHub
  or storage hiccup is tried again by the regular check, which stays).
- GET /github/app: the install link for Your games (GITHUB_APP_SLUG).
- Tested only with signed, made-up payloads: the real app needs an org owner.
  No migration.
F1 GitHub App: a push to a game's repo updates it straight away
@dav3exe
dav3exe merged commit 6465caa into startnextgen:main Oct 25, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants