fix github action security found by github CodeQL (#1091)

This commit is contained in:
majinghe
2025-12-10 12:07:28 +08:00
committed by GitHub
parent 8b3d4ea59b
commit ae46ea4bd3

View File

@@ -5,6 +5,9 @@ on:
workflows: ["Build and Release"]
types: [completed]
permissions:
contents: read
env:
new_version: ${{ github.event.workflow_run.head_branch }}