You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reviewers: ${{ github.event.issue.user.login }} # By default, we request a review from the person who opened the issue. You can replace this with a static list of users.
55
+
title: Release version ${{ github.event.inputs.version }}
56
+
reviewers: ${{ github.actor }} # By default, we request a review from the person who triggered the workflow.
64
57
# Write a nice message to the user.
65
58
# We are claiming things here based on the `publish-new-release.yml` workflow.
66
59
# You should obviously adopt it to say the truth depending on your release workflow :)
67
60
body: |
68
-
Hi @${{ github.event.issue.user.login }}!
61
+
Hi @${{ github.actor }}!
69
62
70
-
This PR was created in response to this release issue: #${{ github.event.issue.number }}.
63
+
This PR was created in response to a manual trigger of the release workflow here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}.
71
64
I've updated the changelog and bumped the versions in the manifest files in this commit: ${{ steps.make-commit.outputs.commit }}.
72
65
73
66
Merging this PR will create a GitHub release and upload any assets that are created as part of the release build.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [2.0.0] - 2020-10-17
11
+
12
+
### Changed
13
+
14
+
- Use `workflow_dispatch` instead of opening an issue as the initial trigger of the release.
15
+
Not only is this more convenient to use, it also fixes a security vulnerability that may have allowed users without write access to execute arbitrary code within the context of the repositories GitHub action.
16
+
- Merge `master` in `dev` after a release branch is merged.
17
+
Previously, we used to merge the `release` branch back into `dev`.
18
+
However, this caused some issues because the actual merge commit was not present in the `dev` branch.
19
+
It also prevented use of the "automatically delete head branch" feature of GitHub which works well together with the "PR retargeting" feature.
20
+
10
21
## [1.4.0] - 2020-02-22
11
22
12
23
### Added
@@ -43,7 +54,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ You are welcome to use it for inspiration for your own release workflows or mayb
7
7
8
8
If you are using the workflows as they are in this repository, there are only two manual steps for releasing a new version:
9
9
10
-
1.Create a ticket that is titled "Release version x.y.z" and label it with "release".
10
+
1.Trigger the "Draft new release" workflow through the "Actions" tab.
11
11
2. Merge the PR that is created for you.
12
12
13
13
The automation will do the following things:
@@ -18,7 +18,10 @@ The automation will do the following things:
18
18
19
19
## Design
20
20
21
-
I've written a blog post that describes the technical design in detail here: https://blog.eizinger.io/12274/using-github-actions-to-automate-gitflow-style-releases
21
+
I've written a blog post that describes the technical design in detail here: https://blog.eizinger.io/12274/using-github-actions-and-gitflow-to-automate-your-release-process
22
+
23
+
NOTE: The workflows and actions in this repository were changed since the blogpost was published.
24
+
Please see the CHANGELOG.md for a detailed summary.
22
25
23
26
The idea of these workflows is to automate all the tedious aspects of releases while still allowing manual intervention if necessary and control over crucial aspects.
0 commit comments