Skip to content

Commit 2c6edd1

Browse files
authored
Merge pull request #4 from promptfoo/promptfoo/add-code-scan-action
Add Code Scan Action
2 parents 16f8aec + cce02b9 commit 2c6edd1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Promptfoo Code Scan
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
security-scan:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
id-token: write
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Run Promptfoo Code Scan
22+
uses: promptfoo/code-scan-action@v0
23+
with:
24+
min-severity: medium

0 commit comments

Comments
 (0)