aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-16 09:47:52 +0800
committerGitHub <noreply@github.com>2026-01-16 09:47:52 +0800
commit7c5e19592110577a9e6445ad15ad30dc3fe68bae (patch)
tree0477fdffcc61049be611a5772a288134e5c1e472
parent08e19bbf428b0295cbf36f8d36855ed686decd1a (diff)
downloadDropOut-7c5e19592110577a9e6445ad15ad30dc3fe68bae.tar.gz
DropOut-7c5e19592110577a9e6445ad15ad30dc3fe68bae.zip
fix(security): Potential fix for code scanning alert no. 6: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
-rw-r--r--.github/workflows/check.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 58fc378..1280ad7 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -13,6 +13,8 @@ on:
jobs:
check:
+ permissions:
+ contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4