Ignore G307 for Gosec (#9790)

This commit is contained in:
Nishant Das 2021-10-18 20:04:01 +08:00 committed by GitHub
parent 4dbb5d6974
commit d1f3050d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ jobs:
- name: Gosec security scanner
uses: securego/gosec@master
with:
args: '-exclude-dir=crypto/bls/herumi ./...'
args: '-exclude=G307 -exclude-dir=crypto/bls/herumi ./...'
- name: Golangci-lint
uses: golangci/golangci-lint-action@v2