Potential fix for code scanning alert no. 18: Workflow does not contain permissions (#648)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
16468a4cba
commit
c4bb1f6ef6
1 changed files with 3 additions and 0 deletions
3
.github/workflows/typecheck.yml
vendored
3
.github/workflows/typecheck.yml
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
name: Pyright Type Check
|
name: Pyright Type Check
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue