Potential fix for code scanning alert no. 17: Workflow does not contain permissions (#651)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
c4bb1f6ef6
commit
b3cd3e3206
1 changed files with 3 additions and 0 deletions
3
.github/workflows/unit_tests.yml
vendored
3
.github/workflows/unit_tests.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: depot-ubuntu-22.04
|
runs-on: depot-ubuntu-22.04
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue