Skip to content

Merge pull request #341 from robinje/dependabot/pip/requirements/attr… #320

Merge pull request #341 from robinje/dependabot/pip/requirements/attr…

Merge pull request #341 from robinje/dependabot/pip/requirements/attr… #320

Workflow file for this run

name: "CodeQL Analysis for Python and Go"
on:
push:
branches: [develop, qa, prod]
pull_request:
branches: "**"
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL for Go
if: contains(github.event.repository.language, 'Go')
uses: github/codeql-action/init@v3
with:
languages: go
build-mode: autobuild
- name: Initialize CodeQL for Python
if: contains(github.event.repository.language, 'Python')
uses: github/codeql-action/init@v3
with:
languages: python
build-mode: none
# You can add any custom build steps here if required for Go, with manual build mode.
- name: Perform CodeQL Analysis for Go
if: contains(github.event.repository.language, 'Go')
uses: github/codeql-action/analyze@v3
with:
category: "/language:go"
- name: Perform CodeQL Analysis for Python
if: contains(github.event.repository.language, 'Python')
uses: github/codeql-action/analyze@v3
with:
category: "/language:python"