Potential fix for code scanning alert no. 22: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
cognitive committed
Mar 4, 2026 at 01:53 UTC
cf4ef6781be4c98b9aebe35da5677b810a7d490d
1 file changed
+3
.github/workflows/ci.yml
+3
@@ -1,5 +1,8 @@
1
name: CI
2
3
+permissions:
4
+ contents: read
5
+
6
on:
7
pull_request:
8
branches: [main]