Skip to content

Commit fc5f52d

Browse files
committed
chore: update release workflow and config settings
- Added permissions for contents, pull-requests, and deployments - Modified bump-patch-for-minor-pre-major setting to false
1 parent 92b9293 commit fc5f52d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
branches:
66
- "main"
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
deployments: write
12+
813
jobs:
914
release-please:
1015
runs-on: "ubuntu-latest"
11-
permissions:
12-
contents: write
13-
deployments: write
14-
pull-requests: write
1516
steps:
1617
- id: "release"
1718
name: "Release"

release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"release-type": "simple",
66
"include-v-in-tag": false,
77
"bump-minor-pre-major": true,
8-
"bump-patch-for-minor-pre-major": true,
8+
"bump-patch-for-minor-pre-major": false,
99
"extra-files": [
1010
"index.html"
1111
]

0 commit comments

Comments
 (0)