Skip to content

Commit 1f4006d

Browse files
Merge pull request #26 from thomaseizinger/release/1.4.0
Release version 1.4.0
2 parents ad6025d + b42d572 commit 1f4006d

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/workflows/draft-new-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
name: "Draft a new release"
1010
runs-on: ubuntu-latest
1111
# Only run for issues with a specific title and label. Not strictly required but makes finding the release issue again later easier.
12-
if: startsWith(github.event.issue.title, 'Release version') && contains(github.event.issue.labels.*.name, 'release')
12+
# There is also a whitelist that you may want to use to restrict, who can trigger this workflow.
13+
# Unfortunately, we cannot create an array on the fly, so the whitelist is just comma-separated.
14+
if: startsWith(github.event.issue.title, 'Release version') && contains(github.event.issue.labels.*.name, 'release') && contains('thomaseizinger,yourusername', github.event.issue.user.login)
1315
steps:
1416
- uses: actions/checkout@v2
1517

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.4.0] - 2020-02-22
11+
12+
### Added
13+
14+
- A whitelist of which users can trigger the release workflow.
15+
1016
## [1.3.0] - 2020-02-22
1117

18+
### Added
19+
20+
- Automatically close the release issue after the release branch was merged.
21+
1222
## [1.2.0] - 2020-02-17
1323

1424
### Changed
@@ -33,7 +43,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3343

3444
- Everything since the beginning!
3545

36-
[Unreleased]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.3.0...HEAD
46+
[Unreleased]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.4.0...HEAD
47+
48+
[1.4.0]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.3.0...1.4.0
3749

3850
[1.3.0]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/1.2.0...1.3.0
3951

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-action-gitflow-release-workflow",
3-
"version": "1.3.0",
3+
"version": "1.4.0",
44
"main": "index.js",
55
"author": "Thomas Eizinger <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)