Skip to content

Bump ossf/scorecard-action from 2.4.0 to 2.4.1 #377

Bump ossf/scorecard-action from 2.4.0 to 2.4.1

Bump ossf/scorecard-action from 2.4.0 to 2.4.1 #377

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
name: "CodeQL"
permissions: read-all # Declare default permissions as read only.
on:
push:
branches: ["main"]
paths-ignore: [
"**/*.rst", "**/*.txt", "**/.md", "**/.gitignore", "**/.*rc", "**/*.cfg", "**/*.toml", ".*.ya?ml", "lib/cli_command_parser/__version__.py"
]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
paths-ignore: [
"**/*.rst", "**/*.txt", "**/.md", "**/.gitignore", "**/.*rc", "**/*.cfg", "**/*.toml", ".*.ya?ml", "lib/cli_command_parser/__version__.py"
]
schedule:
- cron: '29 17 * * 4'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: ["python"]
python-version: ["3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Initialize CodeQL
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
with:
languages: ${{ matrix.language }}
# source-root: lib
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17