-
Notifications
You must be signed in to change notification settings - Fork 60
feat: add scripts for GitHub App Manifest flow #133
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
Conversation
- Create Python script to generate JWT for GitHub App authentication. - Add Bash script to create GitHub App from manifest code. - Implement README for GitHub App Manifest scripts with detailed usage instructions. - Introduce slim version of the create GitHub App from manifest script. - Generate HTML form for GitHub App Manifest flow with local server instructions. - Add example HTML form demonstrating the GitHub App Manifest process. - Create main HTML form for GitHub App Manifest with automatic code handling.
📋 Lint Results⚡ ./gh-cli scripts🔧 ./scripts scriptsLint results updated at Tue Oct 21 15:43:33 UTC 2025 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces scripts and tooling for the GitHub App Manifest flow, enabling programmatic creation of GitHub Apps. The manifest flow streamlines app creation by posting JSON configuration to GitHub and automatically receiving credentials including private keys.
Key changes:
- Added scripts to generate HTML forms and convert manifest codes to app credentials
- Created Python and Bash scripts for JWT generation to authenticate GitHub Apps
- Introduced comprehensive documentation with workflow examples and troubleshooting guidance
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/github-app-manifest-scripts/github-app-manifest-form.html | Static HTML form for organization-specific GitHub App creation via manifest flow |
| scripts/github-app-manifest-scripts/github-app-manifest-form-example.html | Example HTML form demonstrating the manifest flow implementation |
| scripts/github-app-manifest-scripts/generate-github-app-manifest-form.sh | Script that generates customized HTML forms for personal or organization accounts |
| scripts/github-app-manifest-scripts/create-github-app-from-manifest.sh | Converts manifest codes to app credentials with comprehensive error handling |
| scripts/github-app-manifest-scripts/create-github-app-from-manifest-slim.sh | Simplified version of the manifest conversion script |
| scripts/github-app-manifest-scripts/README.md | Complete documentation for the manifest flow scripts and workflow |
| scripts/create-app-jwt.sh | Bash script for generating JWTs for GitHub App authentication |
| scripts/README.md | Updated main scripts README with new entries for JWT and manifest scripts |
| gh-cli/github-app-manifest-form.html | Duplicate HTML form in gh-cli directory |
Comments suppressed due to low confidence (1)
scripts/github-app-manifest-flow/create-github-app-from-manifest.sh
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
scripts/github-app-manifest-flow/generate-github-app-manifest-form.sh
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.