🐛 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>
This commit is contained in:
landaiqingandCopilot Autofix powered by AI authored and GitHub committed 2025-12-16 14:36:57 +08:00
1 parent e1e91a3683
commit 1e07e1f833
1 file changed
+2
+2
View File
@@ -84,6 +84,8 @@ jobs:
fi
build:
permissions:
contents: read
needs: prepare
if: ${{ fromJson(needs.prepare.outputs.matrix).include[0] != null }}
strategy: