Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 2440535

Browse files
authored
Update security.yml
1 parent d6c87b1 commit 2440535

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/security.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
on: [push, pull_request]
1+
on:
2+
push:
3+
branches:
4+
- master
5+
- main
6+
pull_request:
27
name: Security
38
jobs:
49
Gosec:
@@ -9,4 +14,4 @@ jobs:
914
- name: Run Gosec
1015
uses: securego/gosec@master
1116
with:
12-
args: ./...
17+
args: ./...

0 commit comments

Comments
 (0)