mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.7...eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... 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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
|
- name: Set up Python 3.9
|
|
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.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@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
config-file: ./.github/codeql.yml
|
|
setup-python-dependencies: false
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|