In GitHub, select the project you would like to integrate Reshift with. To create an action click 'actions' and set up the workflow with your language card.
First, create a secret in the GitHub 'settings' tab. Give the secret a name (
RESHIFT_TOKEN for this example), and paste your scan token as the value.
.yml file to the base directory of your code repository to configure GitHub Actions to run Reshift scans. You're file should look like this.
name: Reshift Security Scanon:push:branches: [ master ]pull_request:branches: [ master ]jobs:build:runs-on: ubuntu-lateststeps:- uses: actions/[email protected]- name: Set up JDK 1.8uses: actions/[email protected]with:java-version: 1.8- name: Build with Mavenrun: mvn [REPLACE THIS WITH MAVEN COMMAND FROM RESHIFT INTEGRATIONS PAGE]
**add other scans pertaining to your language
Click 'start commit' to kick off the Reshift Scan. Results will be updated and reflected on your Reshift Dashboard.
If you have any more questions, please email us at [email protected]!