Skip to content

Commit c8a8ecf

Browse files
committed
ci: add terrascan
1 parent 68d36f9 commit c8a8ecf

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/terrascan.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Terrascan Security Scan
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
terrascan:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v3
19+
20+
- name: Run Terrascan
21+
run: |
22+
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace accurics/terrascan scan .

0 commit comments

Comments
 (0)