Skip to content

Commit

Permalink
Update devsecops.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto authored Oct 19, 2023
1 parent e1161ef commit 516eee3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/devsecops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: semgrep
run: docker run --rm -v "${PWD}:/src" returntocorp/semgrep semgrep scan * >> $GITHUB_STEP_SUMMARY


build:
runs-on: ubuntu-latest
needs: [secret-leaks, semgrep]
Expand All @@ -41,8 +41,16 @@ jobs:
- name: "Execute unit tests and smoke tests"
run: echo "Test complete"

terrascan:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- name: terrascan
run: docker run --rm -t -v "${PWD}:/src" tenable/terrascan scan -i cft -d /src/aws >> $GITHUB_STEP_SUMMARY

package:
needs: test
needs: terrascan
runs-on: ubuntu-latest
steps:
- name: "Prepare Docker image"
Expand Down

0 comments on commit 516eee3

Please sign in to comment.