Skip to content

Commit e39e801

Browse files
Potential fix for code scanning alert no. 10: Workflow does not contain permissions
GitHub was catching the lack of permission definitions as a CodeQL issue and suggested this change. Looks sensible to me. Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent baf7799 commit e39e801

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Tests
22

33
on: pull_request
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
typecheck:
710
name: MyPy Check

0 commit comments

Comments
 (0)