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>
This commit is contained in:
xixu-meandCopilot Autofix powered by AI authored and GitHub committed 2025-06-01 23:15:37 +08:00
1 parent 6447169308
commit 561eae9c63
1 file changed
+3
+3
View File
@@ -6,6 +6,9 @@ on:
pull_request: pull_request:
branches: [main] branches: [main]
permissions:
contents: read
jobs: jobs:
markdown-lint: markdown-lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest