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:
parent
09fbabf705
commit
8383a07ae3
3 changed files with 8 additions and 61 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue