fix: shutdown-manager not respecting security context of container spec #6008
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: OSV-Scanner | |
on: | |
pull_request: | |
branches: | |
- "main" | |
merge_group: | |
branches: | |
- "main" | |
push: | |
branches: | |
- "main" | |
schedule: | |
- cron: '44 15 * * 5' | |
permissions: | |
contents: read | |
jobs: | |
scan-scheduled: | |
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@19ec1116569a47416e11a45848722b1af31a857b" # v1.9.0 | |
with: | |
scan-args: |- | |
--skip-git | |
--recursive | |
./ | |
permissions: | |
actions: read | |
contents: read | |
# Require writing security events to upload SARIF file to security tab | |
security-events: write | |
scan-pr: | |
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.4' # The Go version to download (if necessary) and use. | |
- uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@19ec1116569a47416e11a45848722b1af31a857b" # v1.9.0 | |
with: | |
scan-args: |- | |
--skip-git | |
--recursive | |
./ | |
permissions: | |
actions: read | |
contents: read | |
security-events: write |