feat(scanner): Added initial scanner logic for asset collection (#281) #512
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: "CodeQL" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
schedule: | |
- cron: '20 08 * * 1' | |
jobs: | |
codeql: | |
permissions: | |
security-events: write | |
actions: read | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.22 | |
- name: Install mockery | |
run: go install github.com/vektra/mockery/[email protected] | |
- name: Run shared CodeQL workflow | |
uses: cloudoperators/common/.github/workflows/shared-codeql.yaml@main | |
with: | |
runs-on: "['default']" | |
language: "['go']" | |
go-check: true | |
go-version: "['1.22']" | |
node-check: false | |
# node-version : "['node']" | |
fail-fast: false | |
# timeout: 30 | |
autobuild: false | |
build_query: "make build-binary" |