瀏覽代碼

Potential fix for code scanning alert no. 59: Workflow does not contain permissions

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

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

@@ -1,4 +1,6 @@
 name: ESLint Check
+permissions:
+  contents: read
 
 on:
   push: