add skip_download
option
#40
Workflow file for this run
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: PR | |
on: pull_request | |
permissions: read-all | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | |
- name: Checkout terragoat | |
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3 | |
with: | |
path: terragoat | |
repository: bridgecrewio/terragoat | |
- name: Scan terragoat | |
uses: ./ | |
with: | |
directory: terragoat | |
soft_fail: true # don't want to fail the step, because of found findings | |
- name: Scan private module | |
uses: ./ | |
with: | |
directory: tests/private | |
soft_fail: true # don't want to fail the step, because of found findings | |
download_external_modules: true | |
github_pat: ${{ secrets.TEST_PAT_TOKEN }} |