feat: github sponsors webhook ingress - #1061
Merged
Merged
Conversation
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
- Create xesitectl command using github.com/google/subcommands framework - Implement test-webhook subcommand with comprehensive options - Support all GitHub Sponsors event types (created, edited, cancelled, etc.) - Load configuration from environment variables with godotenv/autoload - Generate realistic mock sponsorship events with proper HMAC signatures - Support custom webhook URLs, secrets, and sponsorship parameters - Add comprehensive help documentation and examples - Enable verbose logging for debugging webhook requests Usage: xesitectl test-webhook -action created -sponsor testsponsor -tier "Pro Tier" xesitectl test-webhook -action cancelled -sponsor oldsponsor -url https://myapp.com/hook
Example environment variables for xesitectl test-webhook command: - GITHUB_SPONSORS_SECRET: Webhook secret for HMAC signatures - WEBHOOK_URL: Custom webhook endpoint URL - TEST_SPONSOR: Default sponsor login name - TEST_TIER: Default sponsorship tier name - TEST_PRICE: Default monthly price in dollars
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Signed-off-by: Xe Iaso <me@xeiaso.net>
…e on ingress Signed-off-by: Xe Iaso <me@xeiaso.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the vibe coding post research. Done with GLM 4.6, Claude Code, and Linear.
Closes SITE-10