-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 1.71 KB
/
gen-release-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Generate release pull request
on: [workflow_dispatch]
jobs:
generate-pr:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Batch changes
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
with:
version: latest
args: batch auto
- name: Merge changes
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
with:
version: latest
args: merge
- name: Get the latest version
id: latest
uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
with:
version: latest
args: latest
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: Release ${{ steps.latest.outputs.output }}
branch: release/${{ steps.latest.outputs.output }}
commit-message: Release ${{ steps.latest.outputs.output }}
labels: release
body: |
TODO:
- [x] Update [bastionzero/bastionzero.go#libraryVersion](https://github.com/bastionzero/bastionzero-sdk-go/blob/master/bastionzero/bastionzero.go) to `"${{ steps.latest.outputs.output }}"` before merging.
- [ ] Double check the auto-generated files included in this PR look correct, especially `CHANGELOG.md`.
Automated release PR created by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
When this PR is merged to `master`, a new draft release is created and tagged with ${{ steps.latest.outputs.output }}.
See the `.changes/${{ steps.latest.outputs.output }}.md` file to preview the release notes.