fix(api): bug-bash batch — free TTL, brevo non-clobber, dedup expiry, 404 leak, Team dedicated #343
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: CodeQL | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| schedule: | |
| - cron: '17 6 * * 1' | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| jobs: | |
| analyze: | |
| name: Analyze (Go) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout this repo | |
| uses: actions/checkout@v6 | |
| with: | |
| path: api | |
| - name: Checkout sibling InstaNode-dev/common | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: InstaNode-dev/common | |
| path: common | |
| - name: Checkout sibling InstaNode-dev/proto | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: InstaNode-dev/proto | |
| path: proto | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: api/go.mod | |
| - uses: github/codeql-action/init@v4 | |
| with: | |
| languages: go | |
| queries: security-extended | |
| - name: Build | |
| working-directory: api | |
| run: go build ./... | |
| - uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:go" |