Files
freeCodeCamp/.github/workflows/codeql-analysis.yml
Mrugesh Mohapatra c5fbfb84e1 fix(actions): run fewer workflows (#44375)
* fix(actions): remove run CodeQL from bots

* fix(actions): cosmetic renaming to the files
2021-12-03 16:24:00 +00:00

27 lines
594 B
YAML

name: 'CodeQL'
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
analyse:
name: Analyse
runs-on: ubuntu-20.04
if: ${{ github.actor != 'renovate[bot]' && github.actor != 'camperbot' }}
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Perform Analysis
uses: github/codeql-action/analyze@v1