refactor: organize services into categories (#338) #134
This file contains hidden or 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: Run Security Checks | |
on: | |
push: | |
branches: [main] | |
paths: | |
- internal/** | |
- pkg/** | |
- shoutrrr/** | |
- go.mod | |
- go.sum | |
- shoutrrr.go | |
permissions: | |
contents: read | |
actions: read | |
pull-requests: read | |
security-events: write | |
env: | |
GO_VERSION: 1.25.x | |
OUTPUT_FILE: results.sarif | |
jobs: | |
gosec: | |
name: Golang Security Checker | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
actions: read | |
pull-requests: read | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/gosec | |
govulncheck: | |
name: govulncheck | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
actions: read | |
pull-requests: read | |
security-events: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/govulncheck | |
with: | |
go-version: ${{ env.GO_VERSION }} |