Potential fix for code scanning alert no. 1: 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-30 02:55:58 +08:00
1 parent 809097b145
commit 36a4871e4a
1 file changed
+5
+5
View File
@@ -11,6 +11,11 @@ on:
schedule:
- cron: "0 * * * *" # Run every hour
permissions:
contents: read
pull-requests: write
actions: write
jobs:
build:
runs-on: ubuntu-latest