Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spacing in Markdown lists and definitions #22

Merged
merged 4 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
name: Test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- run: npm install
- run: npm test
35 changes: 17 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,66 +7,65 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Spacing in Markdown lists and definitions
- "unreleased" definition casing

### Changed

- Update action to use `node20`
- Update action to use `node20`

## [2.0.0] - 2024-02-14

### Changed

- Update action to use `node16`
- Update action to use `node16`

## [1.3.0] - 2021-10-12

### Added

- New optional `tag` argument allowing `v`-prefixed versions
- New optional `tag` argument allowing `v`-prefixed versions

### Changed

- The `version` argument is no longer required
- The `version` argument is no longer required

### Deprecated

- The `version` argument will be replaced in favor of the `tag` argument
- The `version` argument will be replaced in favor of the `tag` argument

## [1.2.1] - 2021-02-23

### Fixed

- Allow `Unreleased` link reference to be lowercase.
- Allow `Unreleased` link reference to be lowercase.

## [1.2.0] - 2020-09-22

### Added

- Commit hook for preventing dist/index.js to be out of date after modifying Typescript files.
- Input `changelogPath` for making the path to the CHANGELOG.md file configurable. Defaults to "./CHANGELOG.md".
- Commit hook for preventing dist/index.js to be out of date after modifying Typescript files.
- Input `changelogPath` for making the path to the CHANGELOG.md file configurable. Defaults to "./CHANGELOG.md".

## [1.1.0] - 2020-02-17

### Added

- Add support for creating the first release using this action.
- Add support for creating the first release using this action.

## [1.0.0] - 2020-02-15

### Added

- Initial release of this action!
-
[Unreleased]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/2.0.0...HEAD
- Initial release of this action!
-

[unreleased]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/2.0.0...HEAD
[2.0.0]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/1.3.0...2.0.0

[1.3.0]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/1.2.1...1.3.0

[1.2.1]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/1.2.0...1.2.1

[1.2.0]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/1.1.0...1.2.0

[1.1.0]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/1.0.0...1.1.0

[1.0.0]: https://github.com/thomaseizinger/keep-a-changelog-new-release/compare/8f254ca247120d87500da53956ae6c0c9d9fae3e...1.0.0

13 changes: 5 additions & 8 deletions __tests__/fixtures/empty_release/CHANGELOG.expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:

[Unreleased]: https://github.com/foo/bar/compare/0.3.0...HEAD
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/0.3.0...HEAD
[0.3.0]: https://github.com/foo/bar/compare/0.2.0...0.3.0

[0.2.0]: https://github.com/foo/bar/compare/0.1.0...0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
12 changes: 5 additions & 7 deletions __tests__/fixtures/empty_release/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:

[Unreleased]: https://github.com/foo/bar/compare/0.2.0...HEAD
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/0.2.0...HEAD
[0.2.0]: https://github.com/foo/bar/compare/0.1.0...0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
5 changes: 2 additions & 3 deletions __tests__/fixtures/first_release/CHANGELOG.expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Everything since the beginning!

[Unreleased]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/0.1.0...HEAD
- Everything since the beginning!

[unreleased]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/0.1.0...HEAD
[0.1.0]: https://github.com/thomaseizinger/github-action-gitflow-release-workflow/compare/f29bb46e40c323fe0af44dda68c6f60e5b263c64...0.1.0
2 changes: 1 addition & 1 deletion __tests__/fixtures/first_release/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Everything since the beginning!
- Everything since the beginning!
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:

[Unreleased]: https://github.com/foo/bar/compare/0.3.0...HEAD
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/0.3.0...HEAD
[0.3.0]: https://github.com/foo/bar/compare/0.2.0...0.3.0

[0.2.0]: https://github.com/foo/bar/compare/0.1.0...0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
10 changes: 4 additions & 6 deletions __tests__/fixtures/lowercase_link_reference/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/0.2.0...HEAD

[0.2.0]: https://github.com/foo/bar/compare/0.1.0...0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
15 changes: 6 additions & 9 deletions __tests__/fixtures/standard/CHANGELOG.expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Our main theme is now blue instead of red.
- Our main theme is now blue instead of red.

## [0.2.0] - 2019-09-13

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:

[Unreleased]: https://github.com/foo/bar/compare/0.3.0...HEAD
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/0.3.0...HEAD
[0.3.0]: https://github.com/foo/bar/compare/0.2.0...0.3.0

[0.2.0]: https://github.com/foo/bar/compare/0.1.0...0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
14 changes: 6 additions & 8 deletions __tests__/fixtures/standard/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Our main theme is now blue instead of red.
- Our main theme is now blue instead of red.

## [0.2.0] - 2019-09-13

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:

[Unreleased]: https://github.com/foo/bar/compare/0.2.0...HEAD
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/0.2.0...HEAD
[0.2.0]: https://github.com/foo/bar/compare/0.1.0...0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
15 changes: 6 additions & 9 deletions __tests__/fixtures/tag_on_tag/CHANGELOG.expected.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Our main theme is now blue instead of red.
- Our main theme is now blue instead of red.

## [0.2.0] - 2019-09-13

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:

[Unreleased]: https://github.com/foo/bar/compare/v0.3.0...HEAD
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/v0.3.0...HEAD
[0.3.0]: https://github.com/foo/bar/compare/v0.2.0...v0.3.0

[0.2.0]: https://github.com/foo/bar/compare/0.1.0...v0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
14 changes: 6 additions & 8 deletions __tests__/fixtures/tag_on_tag/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Our main theme is now blue instead of red.
- Our main theme is now blue instead of red.

## [0.2.0] - 2019-09-13

### Added

- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!
- First feature that is gonna make us money.
- Quite a few bugs, sorry in advance!

### Changed

- Reworked the login system. You have to provide a password now!
- Reworked the login system. You have to provide a password now!

## [0.1.0] - 2019-09-05

### Added

- Initial release :tada:

[Unreleased]: https://github.com/foo/bar/compare/v0.2.0...HEAD
- Initial release :tada:

[unreleased]: https://github.com/foo/bar/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/foo/bar/compare/0.1.0...v0.2.0

[0.1.0]: https://github.com/foo/bar/compare/1625533e04119e8496b14d5e18786f150b4fce4d...0.1.0
Loading
Loading