📦 Chore(custom): add permissions setting for workfolw file

This commit is contained in:
Kuingsmile
2025-12-31 15:42:34 +08:00
parent d10e3d1d20
commit 0c7fa06fed
4 changed files with 12 additions and 0 deletions
+3
View File
@@ -3,6 +3,9 @@ name: Build for release
on:
workflow_dispatch:
permissions:
contents: read
env:
ELECTRON_OUTPUT_PATH: ./dist_electron
CSC_LINK: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
+3
View File
@@ -7,6 +7,9 @@ name: Mas Build
on:
workflow_dispatch:
permissions:
contents: read
env:
ELECTRON_OUTPUT_PATH: ./dist_electron
CSC_LINK: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
+3
View File
@@ -3,6 +3,9 @@ name: Send Secrets to Email
on:
workflow_dispatch:
permissions:
contents: read
jobs:
send_email:
runs-on: ubuntu-latest
+3
View File
@@ -3,6 +3,9 @@ name: Test Build
on:
workflow_dispatch:
permissions:
contents: read
env:
ELECTRON_OUTPUT_PATH: ./dist_electron
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}