Skip to content

ci: Tweak codeql.yml to ignore static admin js files #6

ci: Tweak codeql.yml to ignore static admin js files

ci: Tweak codeql.yml to ignore static admin js files #6

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "v1" ]
pull_request:
branches: [ "v1" ]
schedule:
- cron: "55 13 * * 3"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ javascript, python ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
paths-ignore:
- "exodus/static/admin/js/**"

Check failure on line 35 in .github/workflows/codeql.yml

View workflow run for this annotation

GitHub Actions / CodeQL

Invalid workflow file

The workflow is not valid. .github/workflows/codeql.yml (Line: 35, Col: 13): A sequence was not expected
- name: Autobuild
uses: github/codeql-action/autobuild@v2
if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"