Skip to content

fix: remove pickle hasattr allowlist entries #744

fix: remove pickle hasattr allowlist entries

fix: remove pickle hasattr allowlist entries #744

Workflow file for this run

name: CodeQL Security Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
# Run weekly on Monday at 06:00 UTC
- cron: "0 6 * * 1"
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyze-python:
name: Analyze Python
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: python
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:python"
upload: ${{ github.event.pull_request.head.repo.fork == true && 'never' || 'always' }}
analyze-actions:
name: Analyze GitHub Actions
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: actions
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:actions"
upload: ${{ github.event.pull_request.head.repo.fork == true && 'never' || 'always' }}