fix(teams): secure Teams webhook URL validation against unintended ho… #135
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
- 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
- uses: ./.github/actions/govulncheck | |
with: | |
go-version: ${{ env.GO_VERSION }} |