Skip to main content
Setting up CI Integrations
GitHub CI: PR Gating via GitHub Actions in code

GitHub CI: PR Gating via GitHub Actions in code

Aikido's integration with GitHub actions allows you to flag or block risky code from being merged. Our CI scans target IaC, SAST, and dependency issues.

If you're on the Aikido Pro plan, you can also use this integration for setting up CI Gating.

If you are looking to manage your configurations in bulk - multiple repos at the same time - please check out our Bulk Configuration via the Aikido Dashboard. No code required, does not cost you any CI minutes and allows you to manage multiple repos in bulk.

Set up integration

Step 1. Go to our CI Integrations page.

Step 2. Generate an authentication token. You will need to expose this in your CI environment for the integration. Make sure to copy the token in this step.

Step 3. Click on GitHub Actions

Add the Github action to your project(s)

Next, its time to install the action in your projects. You can follow the instructions on the readme of the action, found here.

This readme includes an explanation of all the options you can pass to the action as well as what they do. It also includes an example of the yaml file you need to include in your project's .github/workflows folder.