# Runs a CodeQL scan. name: "CodeQL" on: push: branches: - "master" - "release/**" - "fullbuild" jobs: analyze: name: Analyze runs-on: ubuntu-20.04 permissions: # See https://github.com/ooni/probe/issues/2154 security-events: write strategy: fail-fast: false matrix: language: [ "go" ] steps: - name: Checkout repository uses: actions/checkout@v2 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} - name: Autobuild uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2