mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.8 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](05963f47d8...1b1aada464)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1.8 KiB
YAML
46 lines
1.8 KiB
YAML
name: CodeQL Analysis
|
|
|
|
on:
|
|
schedule:
|
|
# Weekly on Saturdays.
|
|
- cron: "30 1 * * 6"
|
|
workflow_call:
|
|
|
|
jobs:
|
|
code-security:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: ["python", "javascript"]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
|
|
- name: Set up Python 3.9
|
|
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
|
|
if: matrix.language == 'python'
|
|
with:
|
|
python-version: "3.9"
|
|
- name: Install python dependencies
|
|
if: matrix.language == 'python'
|
|
run: |
|
|
python -m pip install --no-cache-dir --ignore-installed --require-hashes -r src/deps/requirements.txt
|
|
python -m pip install --no-cache-dir --require-hashes -r src/scheduler/requirements.txt
|
|
python -m pip install --no-cache-dir --require-hashes -r src/ui/requirements.txt
|
|
python -m pip install --no-cache-dir --require-hashes -r src/common/gen/requirements.txt
|
|
python -m pip install --no-cache-dir --require-hashes -r src/common/db/requirements.txt
|
|
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
config-file: ./.github/codeql.yml
|
|
setup-python-dependencies: false
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|