diff --git a/git-secrets b/git-secrets new file mode 160000 index 0000000..5357e18 --- /dev/null +++ b/git-secrets @@ -0,0 +1 @@ +Subproject commit 5357e18bc27b42a827b6780564ea873a72ca1f01 diff --git a/gosec.yml b/gosec.yml new file mode 100644 index 0000000..ded9cb6 --- /dev/null +++ b/gosec.yml @@ -0,0 +1,23 @@ +name: GoSec Analysis + +on: [push, pull_request] + +jobs: + gosec: + name: Run GoSec Security Analysis + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '1.20' # veya kullandığınız Go sürümünü belirleyin + + - name: Install GoSec + run: go install github.com/securego/gosec/v2/cmd/gosec@latest + + - name: Run GoSec + run: gosec ./...