chore(ci): restrict release workflow to authorized actor

This commit is contained in:
Simon
2026-07-08 17:16:39 +08:00
parent 2c67f3498b
commit 3162ac5b45
+2
View File
@@ -11,6 +11,8 @@ permissions:
jobs:
release:
# Only the repo owner may trigger a release, even if tag protection is bypassed
if: github.actor == 'gaomeng1900'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7