Skip to content

Commit 38014c0

Browse files
committed
security(semgrep): update semgrep rules file
1 parent 6be47ca commit 38014c0

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- published
1010
- edited
1111
workflow_dispatch: # Add this to allow manual triggering
12+
pull_request:
13+
branches:
14+
- main
1215

1316
jobs:
1417
build-api:

.github/workflows/semgrep.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
--config p/default \
4141
--config p/secrets \
4242
--config p/security-audit
43-
--config .github/semgrep.yaml
43+
--config .github/semgrep-rules.yml
4444
--severity WARNING
4545
exit 0 # Never block this job
4646
@@ -51,6 +51,6 @@ jobs:
5151
--config p/default \
5252
--config p/secrets \
5353
--config p/security-audit
54-
--config .github/semgrep.yaml
54+
--config .github/semgrep-rules.yml
5555
--severity ERROR \
5656
--error

0 commit comments

Comments
 (0)