Skip to content

Commit 296f999

Browse files
committed
feat: remove release-template.yml, add permission for action
1 parent 8fa0620 commit 296f999

File tree

5 files changed

+12
-44
lines changed

5 files changed

+12
-44
lines changed

.github/workflows/build-android.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8-
8+
permissions:
9+
contents: read
10+
pull-requests: write
911
jobs:
1012
build-android:
1113
runs-on: ubuntu-latest

.github/workflows/build-ios.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8-
8+
permissions:
9+
contents: read
10+
pull-requests: write
911
jobs:
1012
build-ios:
1113
runs-on: macos-latest

.github/workflows/code-lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
8-
8+
permissions:
9+
contents: read
10+
pull-requests: write
911
jobs:
1012
code-lint:
1113
runs-on: ubuntu-latest

.github/workflows/release-template.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
description: 'Release Version Code'
1111
required: true
1212
type: string
13+
permissions:
14+
contents: read
15+
pull-requests: write
1316
env:
1417
NEW_VERSION: ${{ github.event.inputs.release_tag }}
1518
NEW_VERSION_CODE: ${{ github.event.inputs.release_code }}

0 commit comments

Comments
 (0)