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
+
reviewers: ${{ github.actor }} # By default, we request a review from the person who triggered the workflow.
64
56
# Write a nice message to the user.
65
57
# We are claiming things here based on the `publish-new-release.yml` workflow.
66
58
# You should obviously adopt it to say the truth depending on your release workflow :)
67
59
body: |
68
-
Hi @${{ github.event.issue.user.login }}!
60
+
Hi @${{ github.actor }}!
69
61
70
62
This PR was created in response to this release issue: #${{ github.event.issue.number }}.
71
63
I've updated the changelog and bumped the versions in the manifest files in this commit: ${{ steps.make-commit.outputs.commit }}.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Changed
11
+
12
+
- Use `workflow_dispatch` instead of opening an issue as the initial trigger of the release.
13
+
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.
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
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:
@@ -20,6 +20,9 @@ The automation will do the following things:
20
20
21
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
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.
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.
24
27
25
28
I think I've achieved this by doing the following:
0 commit comments