Are you looking to streamline your code review process and enhance code quality? Astronuts offers an innovative solution with its automated code review and static code analysis tools. In just minutes, you can analyze your first GitHub pull request using the CLI or by installing the Astronuts app for GitHub. Plus, every new account comes with $5 free credits to get you started.
Analyze Your First Pull Request
Getting started is simple. Open your terminal and run the following command—be sure to replace <your-github-pr-url>
with the URL of a pull request you have access to. When prompted, authenticate in your browser, and your PR analysis will begin immediately.
npx astronuts-ai analyze pr=<your-github-pr-url>
View Analysis Results
Once the analysis is complete, results appear directly on your GitHub PR and your Astronuts dashboard. You’ll receive:
- GitHub pull request summaries that highlight key changes.
- Detailed change lists.
- GitHub code review suggestions for improvements.
- A comprehensive line-by-line code review with auto-fix.
PR Summary
Astronuts provides a concise summary as a comment on your PR, giving you immediate insights into the proposed changes.
Code Suggestions
Receive actionable suggestions to enhance your code quality. Each suggestion can be expanded for explanations, relevance, and possible fixes—including options for a code review auto fix.
Line-by-Line Review and Auto-Fix
Line by line review suggestions appear as review comments directly on your PR. You can auto-fix if the suggestions are acceptable to you by clicking the Commit suggestion
button.
PR Title and Description Auto-Update
Keep your pull requests informative and up-to-date. Astronuts can automatically update the PR title and description to reflect the latest changes, ensuring clear communication with your team.
Code Health Check with Static Code Analysis
Use the Astronuts GitHub Action to obtain code health statistics and trends. This feature performs static code analysis to help you understand if the current PR reduces technical debt.
GitHub Action Configuration
Integrate Astronuts into your workflow by adding the following to your GitHub Actions:
on:
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: write
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Run Astronuts Code Quality Checks
uses: astronuts-app/astronuts-ai@v3.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
prReview: true
prWalkthrough: true
staticAnalysis: true
The results are posted to your PR and your dashboard, providing valuable insights into your code’s health.
Manage PR analysis via settings
Customize your experience by managing settings through your dashboard or directly in your repository using an astronuts.yml
file at the root.
Manage connected accounts and repositories
You can add personal or organization accounts and manage permissions to your repositories.
Collaborate with your team
Ready to bring your team on board? Create a workspace to collaborate seamlessly.
Workspaces
Add team members
There’s no limit on the number of team members you could add. Start with all those who are in your connected GitHub organizational account. We make it easy for you by add them automatically. You can add/remove/manage permissions from your dashboard.
Get Started Today
Experience the future of code reviews with Astronuts. Enhance your workflow with:
- Automated code review for efficiency.
- In-depth static code analysis for code health.
- Insightful GitHub pull request summaries.
- Actionable GitHub code review suggestions.
- Convenient code review auto fix options.
Head over to our documentation for detailed references and configuration options.
Ready to revolutionize your code review process? Sign up now and make the most of your $5 free credits!
CTO @ Astronuts
Arun Patra