Skip to content

feat(sentinel): add admin operations activity view #243

feat(sentinel): add admin operations activity view

feat(sentinel): add admin operations activity view #243

name: Security - Gosec
on:
pull_request:
branches: [ "*" ]
paths-ignore:
- 'docs/**'
- 'website/**'
- 'README.md'
push:
branches: [ "main" ]
paths-ignore:
- 'docs/**'
- 'website/**'
- 'README.md'
workflow_dispatch: {}
permissions:
contents: read
jobs:
gosec:
name: Gosec Scan
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- name: Install gosec
run: go install github.com/securego/gosec/v2/cmd/gosec@v2.26.1
- name: Run gosec
run: $(go env GOPATH)/bin/gosec ./...