aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-16 09:44:48 +0800
committerGitHub <noreply@github.com>2026-01-16 09:44:48 +0800
commit39028e316068b1dd8a8cfbff14b9e2a131dd8aa5 (patch)
tree97acfae627c67fd5ae27c22e9404b9c15202ab01 /.github
parent963b4b8567ac1bd8b23c41e1bfbd6a99d202d1ed (diff)
downloadDropOut-39028e316068b1dd8a8cfbff14b9e2a131dd8aa5.tar.gz
DropOut-39028e316068b1dd8a8cfbff14b9e2a131dd8aa5.zip
fix(security): Potential fix for code scanning alert no. 2: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8ca056e..5440cd8 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,6 +10,9 @@ on:
branches: ["main"]
workflow_dispatch:
+permissions:
+ contents: read
+
env:
CARGO_TERM_COLOR: always