github.com/maypok86/otter@v1.2.1/.github/workflows/codeql_analysis.yml (about)

     1  name: "CodeQL"
     2  
     3  on:
     4    push:
     5      branches: [ main ]
     6    pull_request:
     7      branches: [ main ]
     8    schedule:
     9      - cron: '17 11 * * 2'
    10  
    11  jobs:
    12    analyze:
    13      name: Analyze
    14      runs-on: ubuntu-latest
    15      permissions:
    16        actions: read
    17        contents: read
    18        security-events: write
    19  
    20      strategy:
    21        fail-fast: false
    22        matrix:
    23          language: [ 'go' ]
    24  
    25      steps:
    26        - name: Checkout repository
    27          uses: actions/checkout@v4
    28  
    29        - name: Initialize CodeQL
    30          uses: github/codeql-action/init@v3
    31          with:
    32            languages: ${{ matrix.language }}
    33  
    34        - name: Autobuild
    35          uses: github/codeql-action/autobuild@v3
    36  
    37        - name: Perform CodeQL Analysis
    38          uses: github/codeql-action/analyze@v3