Skip to content

Commit

Permalink
Add changelog action (#225)
Browse files Browse the repository at this point in the history
* Add changelog action

* Add history file for changelog

* Clean changelog

* Remove stale changelog script
  • Loading branch information
MartinHjelmare authored Mar 12, 2020
1 parent 393a124 commit 5e37a65
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 51 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/generate_changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Generate changelog

on:
release:
types: [published]

jobs:
generate_changelog:
runs-on: ubuntu-latest
name: Generate changelog for master branch
steps:
- uses: actions/checkout@v2
with:
ref: master

- name: Generate changelog
uses: charmixer/auto-changelog-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
release_branch: master
base: HISTORY.md
since_tag: "0.13.0"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
base: master
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update changelog
title: Update changelog
body: Update the changelog. This PR is created automatically after a new release.
branch: update-changelog
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

## [0.18.0](https://github.com/theolind/pymysensors/tree/0.18.0) (2018-10-21)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.17.0...0.18.0)

**Closed issues:**
Expand All @@ -15,6 +16,7 @@
- Clean up ensure\_future [\#173](https://github.com/theolind/pymysensors/pull/173) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.17.0](https://github.com/theolind/pymysensors/tree/0.17.0) (2018-08-12)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.16.0...0.17.0)

**Merged pull requests:**
Expand All @@ -30,6 +32,7 @@
- Scheduled monthly dependency update for August [\#164](https://github.com/theolind/pymysensors/pull/164) ([pyup-bot](https://github.com/pyup-bot))

## [0.16.0](https://github.com/theolind/pymysensors/tree/0.16.0) (2018-07-19)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.15.0...0.16.0)

**Merged pull requests:**
Expand All @@ -43,6 +46,7 @@
- Update wheel dependency to fix release procedure [\#156](https://github.com/theolind/pymysensors/pull/156) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.15.0](https://github.com/theolind/pymysensors/tree/0.15.0) (2018-05-27)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.14.0...0.15.0)

**Closed issues:**
Expand All @@ -59,6 +63,7 @@
- Use pytest for tests [\#148](https://github.com/theolind/pymysensors/pull/148) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.14.0](https://github.com/theolind/pymysensors/tree/0.14.0) (2018-05-10)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.13...0.14.0)

**Merged pull requests:**
Expand All @@ -69,6 +74,7 @@
- Call event callback when gateway is ready [\#144](https://github.com/theolind/pymysensors/pull/144) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.13](https://github.com/theolind/pymysensors/tree/0.13) (2018-04-02)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.12.1...0.13)

**Breaking Changes:**
Expand Down Expand Up @@ -100,6 +106,7 @@
- Add new internal sub-types [\#120](https://github.com/theolind/pymysensors/pull/120) ([jslove](https://github.com/jslove))

## [0.12.1](https://github.com/theolind/pymysensors/tree/0.12.1) (2018-01-14)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.12...0.12.1)

**Closed issues:**
Expand All @@ -112,6 +119,7 @@
- Fix bug in \_handle\_internal [\#116](https://github.com/theolind/pymysensors/pull/116) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.12](https://github.com/theolind/pymysensors/tree/0.12) (2018-01-14)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.11.1...0.12)

**Closed issues:**
Expand All @@ -126,6 +134,7 @@
- Fix reboot not returning to False [\#111](https://github.com/theolind/pymysensors/pull/111) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.11.1](https://github.com/theolind/pymysensors/tree/0.11.1) (2017-08-29)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.11...0.11.1)

**Merged pull requests:**
Expand All @@ -135,6 +144,7 @@
- Update release instructions [\#107](https://github.com/theolind/pymysensors/pull/107) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.11](https://github.com/theolind/pymysensors/tree/0.11) (2017-08-21)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.10...0.11)

**Breaking Changes:**
Expand All @@ -152,6 +162,7 @@
- Fix subscription to topics with nested prefix [\#99](https://github.com/theolind/pymysensors/pull/99) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.10](https://github.com/theolind/pymysensors/tree/0.10) (2017-05-06)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.9.1...0.10)

**Closed issues:**
Expand All @@ -166,6 +177,7 @@
- Add changelog [\#95](https://github.com/theolind/pymysensors/pull/95) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.9.1](https://github.com/theolind/pymysensors/tree/0.9.1) (2017-04-11)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.9...0.9.1)

**Merged pull requests:**
Expand All @@ -174,6 +186,7 @@
- Fix pickle persistence when upgrading to 0.9 [\#92](https://github.com/theolind/pymysensors/pull/92) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.9](https://github.com/theolind/pymysensors/tree/0.9) (2017-04-03)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.8...0.9)

**Breaking Changes:**
Expand All @@ -199,6 +212,7 @@
- tcp\_check to reconnect in case of connection lost [\#67](https://github.com/theolind/pymysensors/pull/67) ([afeno](https://github.com/afeno))

## [0.8](https://github.com/theolind/pymysensors/tree/0.8) (2016-10-19)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.7.1...0.8)

**Closed issues:**
Expand All @@ -216,6 +230,7 @@
- Fix log spam by disconnecting at serial exception [\#68](https://github.com/theolind/pymysensors/pull/68) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.7.1](https://github.com/theolind/pymysensors/tree/0.7.1) (2016-08-21)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.7...0.7.1)

**Closed issues:**
Expand All @@ -228,6 +243,7 @@
- Fix persistence with missing attributes [\#64](https://github.com/theolind/pymysensors/pull/64) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.7](https://github.com/theolind/pymysensors/tree/0.7) (2016-08-20)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.6...0.7)

**Closed issues:**
Expand Down Expand Up @@ -258,6 +274,7 @@
- Bump version to 0.7.dev0 [\#43](https://github.com/theolind/pymysensors/pull/43) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.6](https://github.com/theolind/pymysensors/tree/0.6) (2016-04-19)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.5...0.6)

**Closed issues:**
Expand All @@ -281,6 +298,7 @@
- Travis [\#31](https://github.com/theolind/pymysensors/pull/31) ([Br3nda](https://github.com/Br3nda))

## [0.5](https://github.com/theolind/pymysensors/tree/0.5) (2016-02-12)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.4...0.5)

**Closed issues:**
Expand All @@ -300,6 +318,7 @@
- Fix decode partial data [\#15](https://github.com/theolind/pymysensors/pull/15) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.4](https://github.com/theolind/pymysensors/tree/0.4) (2016-01-07)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.3...0.4)

**Merged pull requests:**
Expand All @@ -309,6 +328,7 @@
- Fix attributes [\#11](https://github.com/theolind/pymysensors/pull/11) ([MartinHjelmare](https://github.com/MartinHjelmare))

## [0.3](https://github.com/theolind/pymysensors/tree/0.3) (2015-10-09)

[Full Changelog](https://github.com/theolind/pymysensors/compare/0.2...0.3)

**Closed issues:**
Expand All @@ -321,9 +341,9 @@
- Pass protocol version through from SerialGateway to Gateway. [\#8](https://github.com/theolind/pymysensors/pull/8) ([andythigpen](https://github.com/andythigpen))

## [0.2](https://github.com/theolind/pymysensors/tree/0.2) (2015-08-15)

**Merged pull requests:**

- Add setup.py [\#4](https://github.com/theolind/pymysensors/pull/4) ([balloob](https://github.com/balloob))
- Fix ValueError issue when decoding a message. [\#2](https://github.com/theolind/pymysensors/pull/2) ([andythigpen](https://github.com/andythigpen))
- Improvements [\#1](https://github.com/theolind/pymysensors/pull/1) ([andythigpen](https://github.com/andythigpen))

Loading

0 comments on commit 5e37a65

Please sign in to comment.