Skip to content

Commit e60f57b

Browse files
authored
ci: switch to releaser-pleaser (#1079)
Switch to releaser-pleaser[0] for planning new releases. This adds the following new features: - We can easily cut pre-releases, these are always useful if we want to allow some customers to test features before making an official release or to validate changes made to the release CI workflows. - We can add our own release notes to each release to better inform customers about the new features we added or about any deprecations. [0] https://github.com/apricote/releaser-pleaser
1 parent 6f04b15 commit e60f57b

File tree

4 files changed

+10
-19
lines changed

4 files changed

+10
-19
lines changed

.github/release-please-config.json

-12
This file was deleted.

.github/release-please-manifest.json

-1
This file was deleted.

.github/workflows/release-please.yml .github/workflows/releaser-pleaser.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
name: Release-please
1+
name: Releaser-pleaser
22

33
on:
44
push:
55
branches: [main]
6+
pull_request_target:
7+
types:
8+
- edited
9+
- labeled
10+
- unlabeled
611

712
jobs:
8-
release-please:
13+
releaser-pleaser:
914
# Do not run on forks.
1015
if: github.repository == 'hetznercloud/terraform-provider-hcloud'
1116

1217
runs-on: ubuntu-latest
1318
steps:
14-
- uses: googleapis/release-please-action@v4
19+
- name: releaser-pleaser
20+
uses: apricote/releaser-pleaser@v0.5.0
1521
with:
1622
token: ${{ secrets.HCLOUD_BOT_TOKEN }}
17-
config-file: .github/release-please-config.json
18-
manifest-file: .github/release-please-manifest.json

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
- uses: codecov/codecov-action@v5
102102
if: >
103103
!startsWith(github.head_ref, 'renovate/') &&
104-
!startsWith(github.head_ref, 'release-please--')
104+
!startsWith(github.head_ref, 'releaser-pleaser--')
105105
with:
106106
token: ${{ secrets.CODECOV_TOKEN }}
107107
flags: e2e

0 commit comments

Comments
 (0)