Limit test permission to read
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index e9e7070..68ffae2 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -11,6 +11,8 @@
   cancel-in-progress: true # Cancel any in-progress runs of this workflow when a new run is triggered on the same ref (branch or tag)
 
 name: Test
+permissions:
+  contents: read
 jobs:
   build:
     name: Test