1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 11:46:49 +00:00

ci: workflows get only read access; drop the disabled CodeQL workflow

The test and lint workflows set no permissions, so their GITHUB_TOKEN
had the repository's default access (CodeQL
actions/missing-workflow-permissions). Both only check out and build
the code: they now ask for contents: read.

.github/workflows/codeql-analysis.yml was disabled on GitHub; code
scanning runs through GitHub's default CodeQL setup instead. The file
only kept the old analysis category (and its 2023 alerts) around.
This commit is contained in:
catborise 2026-10-06 08:01:09 +03:00
parent 09fbabf705
commit 8383a07ae3
3 changed files with 8 additions and 61 deletions

View file

@ -6,6 +6,10 @@ on:
pull_request:
branches: [master]
# the jobs only read the code
permissions:
contents: read
jobs:
test:
name: Python ${{ matrix.python-version }}