Support DBaaS V2.0 #13
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: Security Checks for Pull Requests | |
on: | |
pull_request: null | |
jobs: | |
dependency-review: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout repository' | |
uses: actions/checkout@v4 | |
- name: 'Dependency Review' | |
uses: actions/dependency-review-action@v4 | |
with: | |
comment-summary-in-pr: on-failure | |
gosec_scan: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Run Gosec Security Scanner on root directory | |
uses: securego/gosec@master | |
with: | |
# We need to temporarily exclude this as gosec doesn't | |
# support using module files from subdirectories. | |
args: -exclude-dir=k8s ./... |