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 516eee3 commit 0600664
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/devsecops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
required: true

jobs:


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


secret-leaks:
runs-on: ubuntu-latest
steps:
Expand All @@ -26,7 +36,6 @@ 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,14 +50,6 @@ 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: terrascan
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0600664

Please sign in to comment.