Skip to content

Fix empty map being accepted #475

Fix empty map being accepted

Fix empty map being accepted #475

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
- '**/*.txt'
schedule:
- cron: "18 21 2 * *"
pull_request_target:
types: [labeled]
jobs:
analyze:
if: ${{ github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'run tests') }}
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
config-file: ./.github/codeql.yml
queries: +security-and-quality
setup-python-dependencies: false
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:python"