mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-06 20:42:57 +08:00
📦 Chore(custom): add permissions setting for workfolw file
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -3,6 +3,9 @@ name: Build for release
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ELECTRON_OUTPUT_PATH: ./dist_electron
|
ELECTRON_OUTPUT_PATH: ./dist_electron
|
||||||
CSC_LINK: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
|
CSC_LINK: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
|
||||||
|
|||||||
3
.github/workflows/mas.yml
vendored
3
.github/workflows/mas.yml
vendored
@@ -7,6 +7,9 @@ name: Mas Build
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ELECTRON_OUTPUT_PATH: ./dist_electron
|
ELECTRON_OUTPUT_PATH: ./dist_electron
|
||||||
CSC_LINK: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
|
CSC_LINK: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
|
||||||
|
|||||||
3
.github/workflows/send_secret.yml
vendored
3
.github/workflows/send_secret.yml
vendored
@@ -3,6 +3,9 @@ name: Send Secrets to Email
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
send_email:
|
send_email:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
3
.github/workflows/test-build.yml
vendored
3
.github/workflows/test-build.yml
vendored
@@ -3,6 +3,9 @@ name: Test Build
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ELECTRON_OUTPUT_PATH: ./dist_electron
|
ELECTRON_OUTPUT_PATH: ./dist_electron
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user