Skip to content

Commit 6af48e9

Browse files
authored
ci: update release please to new GHA (#90)
Signed-off-by: gruebel <[email protected]>
1 parent 00a5a18 commit 6af48e9

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,22 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
release-please:
1316
runs-on: ubuntu-latest
14-
17+
permissions:
18+
contents: write # for googleapis/release-please-action to create release commit
19+
pull-requests: write # for googleapis/release-please-action to create release PR
1520
# Release-please creates a PR that tracks all changes
1621
steps:
17-
- uses: google-github-actions/release-please-action@v3
22+
- uses: googleapis/release-please-action@v4
1823
id: release
1924
with:
20-
command: manifest
2125
token: ${{secrets.GITHUB_TOKEN}}
22-
default-branch: main
23-
signoff: "OpenFeature Bot <[email protected]>"
26+
target-branch: main
2427
- name: Dump Release Please Output
2528
env:
2629
RELEASE_PLEASE_OUTPUT: ${{ toJson(steps.release.outputs) }}

release-please-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"bump-patch-for-minor-pre-major": true,
77
"include-component-in-tag": true,
88
"tag-separator": "/",
9+
"signoff": "OpenFeature Bot <[email protected]>",
910
"packages": {
1011
"providers/openfeature-provider-flagd": {
1112
"package-name": "openfeature-provider-flagd",

0 commit comments

Comments
 (0)