Add support for users #1241
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GoSec | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: "19 7 * * 0" | |
jobs: | |
build: | |
name: Analyze | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run GoSec Security Scanner | |
uses: securego/gosec@master | |
with: | |
args: "-severity=medium -no-fail -fmt sarif -out gosec-results.sarif ./..." | |
- name: Upload GoSec scan results to GitHub Security tab | |
uses: github/codeql-action/upload-sarif@v1 | |
with: | |
sarif_file: "gosec-results.sarif" |