sigs.k8s.io/cluster-api-provider-aws@v1.5.5/.github/workflows/codeql-analysis.yml (about) 1 name: "CodeQL" 2 3 on: 4 push: 5 branches: [ main ] 6 schedule: 7 - cron: '15 18 1 * *' 8 9 jobs: 10 analyze: 11 name: Analyze 12 runs-on: ubuntu-latest 13 permissions: 14 actions: read 15 contents: read 16 security-events: write 17 18 strategy: 19 fail-fast: false 20 matrix: 21 language: [ 'go' ] 22 steps: 23 - name: Checkout repository 24 uses: actions/checkout@v3 25 26 # Initializes the CodeQL tools for scanning. 27 - name: Initialize CodeQL 28 uses: github/codeql-action/init@v2 29 with: 30 languages: ${{ matrix.language }} 31 32 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). 33 # If this step fails, then you should remove it and run the build manually (see below) 34 - name: Autobuild 35 uses: github/codeql-action/autobuild@v2 36 37 - name: Perform CodeQL Analysis 38 uses: github/codeql-action/analyze@v2