-
Notifications
You must be signed in to change notification settings - Fork 607
feat: GitHub webhook deployments with BuildKit native git context #4876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
acf8924
fix: use h2c
chronark 2dbac9c
Merge branch 'main' of github.com:unkeyed/unkey
chronark e1d1d64
Merge branch 'main' of github.com:unkeyed/unkey
chronark 8b0ad81
feat: ui for managing github apps in your projects
chronark fcb4746
[autofix.ci] apply automated fixes
autofix-ci[bot] 0b59393
fix: use a link
chronark 238894f
hlep
chronark 982725a
fix: add db
chronark 9bedc90
fix: add middleware for github callback
chronark 669ac48
fix: ensure repo was part of installation
chronark 663cab9
Merge branch 'main' of github.com:unkeyed/unkey
chronark c60c07d
pkg/jwt: add JWT signing and verification package
chronark 1965edb
pkg/jwt: add fuzz tests
chronark 859d9eb
fix: jwt
chronark 4e2c052
Merge branch 'main' into jwt
chronark 5fe6795
idfk
chronark 3837941
Merge branch 'main' of github.com:unkeyed/unkey into github-webhook
chronark 6444cc6
test: webhooks
chronark 13a8a6d
fix: unnecessary stuff
chronark 78e95d5
revert
chronark 3bd9c62
it works, don't touch it
chronark 23fe81c
Merge branch 'main' into github-webhook
chronark 4767ecc
chore: remove dead code
chronark bf4b5ea
Merge branch 'github-webhook' of github.com:unkeyed/unkey into github…
chronark 40bd39a
revert: remove jobs
chronark 8d143dd
docs: document everything
chronark c9965ac
fix merge
chronark 4f8c877
chore: do not log token
chronark 432716f
Merge branch 'main' into github-webhook
chronark 05b445a
fix: add index
chronark 61e0a04
Merge branch 'github-webhook' of github.com:unkeyed/unkey into github…
chronark 1abbcba
Merge branch 'main' into github-webhook
chronark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # GitHub App credentials for webhook-triggered deployments | ||
| # Copy this to .env.github and fill in your values | ||
|
|
||
| # GitHub App ID (from your GitHub App settings) | ||
| UNKEY_GITHUB_APP_ID=2721195 | ||
|
|
||
| # GitHub App Private Key (PEM format, keep the newlines) | ||
| # Generate from GitHub App settings > Private keys > Generate a private key | ||
| UNKEY_GITHUB_PRIVATE_KEY_PEM=-----BEGIN RSA PRIVATE KEY----- | ||
| MIIEpAIBAAKCAQEA... | ||
| ...your key here... | ||
| -----END RSA PRIVATE KEY----- | ||
|
|
||
|
|
||
| UNKEY_GITHUB_APP_WEBHOOK_SECRET=superescuretsecret | ||
|
|
||
|
|
||
| NEXT_PUBLIC_GITHUB_APP_NAME="unkey-staging" | ||
Flo4604 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file was deleted.
Oops, something went wrong.
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.