Skip to content

Commit 5b11451

Browse files
authored
Update security workflow (#105)
- Skip security workflow on changes to Markdown files - Run Semgrep in audit mode on push and pull request
1 parent 2888352 commit 5b11451

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/security.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ on:
44
push:
55
branches:
66
- main
7+
paths-ignore:
8+
- '**.md'
79
pull_request:
810
branches:
911
- main
12+
paths-ignore:
13+
- '**.md'
1014
# every Sunday at midnight
1115
schedule:
1216
- cron: '0 0 * * 0'
@@ -65,7 +69,9 @@ jobs:
6569
config: >-
6670
p/ci
6771
p/secrets
68-
auditOn: push
72+
auditOn: >-
73+
push
74+
pull_request
6975
generateSarif: true
7076

7177
- name: Upload Semgrep results

0 commit comments

Comments
 (0)