Why integrate GitHub?
Integrating Codemod with GitHub allows you to apply codemods directly to your repositories and create pull requests with automated code changes.Set up the integration
Navigate to add organization
Install the GitHub App
You’ll be redirected to GitHub where you can:
- Select the GitHub account (personal or organization) where you want to install the Codemod app
- Choose which repositories to grant access to (all repositories or select specific ones)
- Review the permissions requested by the app

Using the GitHub integration
Once connected, you can:- Select connected repositories when running codemods
- Automatically create pull requests with your code transformations
- Configure which repositories to target for specific codemods
Managing Permissions
You can modify repository access at any time:- Go to your GitHub account settings
- Navigate to Applications → Installed GitHub Apps
- Find Codemod and click Configure
- Update repository access as needed
Required permissions
Codemod requires the following GitHub permissions: Read access to:- Repository metadata
- Repository code
- Commit statuses
- Code (to create branches and commits)
- Pull requests (to create and update PRs)
Managing team members
Add team members to your organization to collaborate on migrations and control access to Campaigns and Insights.If your organization uses SAML SSO, users are provisioned automatically on first login (JIT) and access is controlled through your IdP — you do not need to invite them manually. Use the steps below to manage roles for users who already exist, or to invite users when SSO is not in use.
Invite team members
Click Invite Members and enter the email addresses of team members you want to add.
Security considerations
- We recommend enabling branch protections on your main branches to ensure changes are reviewed before merging
- Codemod can only access repositories you explicitly grant during the installation process
- You can revoke access at any time through your GitHub settings
- All code transformations are submitted as pull requests for your review




