瀏覽代碼

Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#534)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Ayyan 1 年之前
父節點
當前提交
ef0075b410
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/ci.yml

+ 2 - 0
.github/workflows/ci.yml

@@ -1,5 +1,7 @@
 name: ci
 on: [push, pull_request]
+permissions:
+  contents: read
 
 jobs:
   build: