Skip to content

security(cicd): Added permissions block to gosec action #97

security(cicd): Added permissions block to gosec action

security(cicd): Added permissions block to gosec action #97

Workflow file for this run

name: GoSec Security Checker
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...