CodeCargo logo

Core Concepts

CodeCargo GitHub Integration

CodeCargo is deeply integrated with GitHub; it’s the foundation of how our platform works. We built CodeCargo to feel like a natural extension of your GitHub environment, using GitHub Apps, GitHub SSO, and GitHub Actions to deliver powerful, secure developer workflows.

GitHub App Installation

To use CodeCargo, you must install the CodeCargo GitHub App in your organization or personal account. This app allows CodeCargo to securely interact with your repositories, workflows, and environments.

GitHub App installation instructions

Required Permissions

When installing the CodeCargo GitHub App, you will be prompted to grant specific permissions. Here's what we request and why:

PermissionAccess LevelWhy We Need It
AdministrationReadTo view repository and organization settings.
MetadataReadTo identify accessible repositories.
Organization AdministrationReadTo view organization-level settings.
Organization Self Hosted RunnersReadTo view self-hosted runner configurations.
ActionsRead/WriteTo dispatch workflows and monitor their status.
Actions VariablesRead/WriteTo manage workflow variables.
CodeRead/WriteTo access repository code and contents.
DeploymentsRead/WriteTo manage deployment environments.
EnvironmentsRead/WriteTo configure and manage environments.
Pull RequestsRead/Write.To create and trigger jobs
MembersRead/WriteTo manage organization membership.
Organization Actions VariablesRead/WriteTo manage organization-level action variables.
Organization SecretsRead/WriteTo manage organization-level secrets.
SecretsRead/WriteTo manage repository secrets.
WorkflowsRead/WriteTo create, modify, and execute workflows.

Repository Access

You can choose which repositories the app has access to — all repos or only selected ones.

GitHub-Based Sign In

All CodeCargo users sign in through GitHub SSO. This means:

  • No passwords or secondary accounts
  • Your GitHub identity is your CodeCargo identity
  • Access and role mapping can align with your GitHub teams

To use CodeCargo, your users must have an active GitHub account.

GitHub Permissions and Access Control

CodeCargo respects GitHub permissions wherever possible. We do not override or bypass your GitHub org’s access model.

  • If a user doesn't have access to a repository, they can't see or trigger workflows in it through CodeCargo.
  • We only dispatch workflows using the GitHub App’s token and the current user’s session context.
  • Read/write operations (e.g. triggering a workflow, viewing logs) are scoped to the exact repositories and permissions you've granted.

This ensures that:

  • Only developers with the right access in GitHub can run critical workflows
  • Audit trails remain consistent between GitHub and CodeCargo
  • You never have to manage permissions in two places

Practical Examples

Here are a few examples of how CodeCargo directly integrates with GitHub:

  • Import GitHub Actions Workflows as Buildling Blocks, and then create a Self-Service Workflow. When users run these, our application will trigger the workflow with your GitHub settings
  • Directly edit Building Blocks using the AI Assistant and create a PR in GitHub with the changes
  • Create a new GitHub repository and add it to a project in CodeCargo
  • Provide a GitHub user with read permissions to a GitHub repository automatically gives them read access to any CodeCargo Projects that include that repository

Behind the Scenes

Under the hood:

Need help installing the GitHub App or setting up your first workflow? Head over to the Quickstart Guide or contact our support team.

Previous
FAQ