Skip to content

Commit 7ac030a

Browse files
committed
[BugFix][workflow] add permissions
Signed-off-by: Arkueid <thetardis@qq.com>
1 parent d52f364 commit 7ac030a

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

.github/workflows/build-linux-arm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
build-n-publish:
1212
name: Build📦 for Linux
1313
runs-on: ubuntu-24.04-arm
14+
permissions:
15+
contents: write
1416

1517
strategy:
1618
matrix:

.github/workflows/build-linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
build-n-publish:
1212
name: Build📦 for Linux
1313
runs-on: ubuntu-24.04
14+
permissions:
15+
contents: write
1416

1517
strategy:
1618
matrix:

.github/workflows/build-live2dviewer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
# You can convert this to a matrix build if you need cross-platform coverage.
1616
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
1717
runs-on: windows-latest
18+
permissions:
19+
contents: write
1820

1921
steps:
2022
- uses: actions/checkout@v4

.github/workflows/build-macos-intel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
build-n-publish:
1212
name: Build📦 for MacOS
1313
runs-on: macos-13
14+
permissions:
15+
contents: write
1416

1517
strategy:
1618
matrix:

.github/workflows/build-macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
build-n-publish:
1212
name: Build📦 for MacOS
1313
runs-on: macos-latest
14+
permissions:
15+
contents: write
1416

1517
strategy:
1618
matrix:

.github/workflows/build-windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
build-n-publish:
1212
name: Build📦 for Windows
1313
runs-on: windows-latest
14+
permissions:
15+
contents: write
1416

1517
strategy:
1618
matrix:

0 commit comments

Comments
 (0)