diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 75d85b6..5c2d21f 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -1,4 +1,9 @@ -on: [push, pull_request] +on: + push: + branches: + - master + - main + pull_request: name: Security jobs: Gosec: @@ -9,4 +14,4 @@ jobs: - name: Run Gosec uses: securego/gosec@master with: - args: ./... \ No newline at end of file + args: ./...