GitHub

Integrate with GitHub Issues and Repositories

The GitHub integration allows access to GitHub from Bytesafe. After initial setup, the integration handles all authentication and access to GitHub repositories.

Adding the integration enables:

  • Using GitHub repositories as upstreams for a whole Bytesafe Workspace
  • Linking Bytesafe Issues to GitHub issues and pull requests

For a general guide on using any Git repository with Bytesafe, see Git repository as upstreams.

How to add GitHub integration

GitHub integration is manage in the workspace Settings in Bytesafe. Select Integrations tab to display available integrations.

Any user with admin privileges for a Bytesafe workspace will be able to access settings.

1. Add GitHub integration by clicking Connect to GitHub. connect to GitHub

With this action the user will be redirected to GitHub for login and authentication.

2. Where do you want to install this integration? - Select GitHub account to install Bytesafe Integration for.

3. Set repository access permissions for the integration. Either select All repositories or configure access for selected repositories only.

4. Done! User will be redirect back to Bytesafe.

To add GitHub repositories as upstreams navigate to a registry and add it as upstreams from the drop-down list.

Accessing a GitHub account without administrative access

Granting access to repositories in GitHub require administrative access to that GitHub account. Users that would like to add the Bytesafe integration without administrative access, need to request access through GitHub.

Following the steps above, after requesting access to a GitHub account and repositories, the user will be redirected back to Bytesafe.

To view and edit your active requests for access, select Manage on GitHub in the Bytesafe Account settings to be redirected to GitHub.

Managing GitHub repository access

GitHub allows the user to allow access either to All repositories or selected repositories for a GitHub account. This is initially configured when installing the Bytesafe Integration, but can also be managed in the Bytesafe Integration page on GitHub.

To configure repository access:

  1. Select manage on GitHub in Account settings. This will redirect the user to the Bytesafe Integration page in GitHub.
  2. In the repository access section on the GitHub page, make required changes and select Save.

Removing the GitHub integration

Removal of the GitHub integration from Bytesafe is done on GitHub. This action is linked to the GitHub account that was used to add the integration.

To remove or suspend the integration:

  1. Select manage on GitHub in Account settings. This will redirect the user to the Bytesafe Integration page in GitHub.
  2. Remove or suspend the application by selecting the desired action in the Danger Zone