Main branch protection: feat: add code-scanning workflow with golangci-lint and govulncheck (#40) * feat: add code-scanning workflow with golangci-lint and govulncheck Agent-Logs-Url: https://github.com/maansaake/locksmith/sessions/cab7cd0c-23c5-4406-9bc5-efdac08a26ae Co-authored-by: maansaake <15028979+maansaake@users.noreply.github.com> * fix: address review comments on code-scanning workflow Agent-Logs-Url: https://github.com/maansaake/locksmith/sessions/c980782a-58b4-48ee-a368-2e52319f40bb Co-a... #7
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: Main branch protection | |
| run-name: "Main branch protection: ${{ github.event.head_commit.message }}" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/callable-build.yaml | |
| unit-test: | |
| uses: ./.github/workflows/callable-test-unit.yaml | |
| image: | |
| name: Image | |
| uses: ./.github/workflows/image.yaml | |
| with: | |
| push: false |