pkg.re/essentialkaos/ek.10@v12.41.0+incompatible/.github/workflows/codeql.yml (about)

     1  name: "CodeQL"
     2  
     3  on:
     4    push:
     5      branches: [master, develop]
     6    pull_request:
     7      branches: [master]
     8    schedule:
     9      - cron: '0 18 * * 1,3,5'
    10  
    11  jobs:
    12    analyse:
    13      name: Analyse
    14      runs-on: ubuntu-latest
    15  
    16      steps:
    17      - name: Checkout repository
    18        uses: actions/checkout@v2
    19        with:
    20          fetch-depth: 2
    21  
    22      - run: git checkout HEAD^2
    23        if: ${{ github.event_name == 'pull_request' }}
    24  
    25      - name: Initialize CodeQL
    26        uses: github/codeql-action/init@v1
    27        with:
    28          languages: go
    29  
    30      - name: Perform CodeQL Analysis
    31        uses: github/codeql-action/analyze@v1