Create create_merge_request.sh #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sample Orca IaC Scan Workflow | |
on: | |
# Trigger the workflow on push request, | |
# but only for the main branch | |
push: | |
branches: | |
- main | |
jobs: | |
orca-iac_scan: | |
name: Orca IaC Scan | |
runs-on: ubuntu-latest | |
env: | |
PROJECT_KEY: default # Set the desired project to run the cli scanning with | |
steps: | |
# Checkout your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Run Orca IaC Scan | |
uses: orcasecurity/shiftleft-iac-action@v1 | |
with: | |
api_token: ${{ secrets.ORCA_SECURITY_API_TOKEN }} | |
project_key: ${{ env.PROJECT_KEY }} | |
path: | |
# scanning directories: ./terraform/ ./sub-dir/ and a file: ./Dockerfile | |
"aws" |