Skip to content

Releases: ponylang/release-notes-bot-action

0.3.7

22 Apr 16:29
Compare
Choose a tag to compare

Fix a failure when release notes appear in more than one commit

If more than 1 commit was associated with a PR and more than one commit included the same release notes file, this actual would previously fail.

We've updated to make sure it only processes each file once as compared to before when it would attempt to process each release notes file for every occurrence across all commits.

You can also call this fix: "use set, not list".

[0.3.7] - 2023-04-22

Fixed

  • Fix bug when release notes files appeared in more than one commit (PR #40)

0.3.6

09 Feb 22:15
Compare
Choose a tag to compare

Handle GitHub secondary rate limit failure

The release-notes-bot-action makes extensive use of the GitHub API. As such, it can trigger rate limits that cause a failure. We've found that it is rather easy when using the bot across a number of repositories to hit a "secondary rate limit failure". Basically that is "you are doing too many API calls at once".

The error is transient. If someone was to notice, they could restart the failed release-notes-bot run and it would work. However, that requires someone to notice.

With this release, we've added a retry for the one time we know that the limit can be triggered. If the rate limit is triggered, the bot will wait for 30 seconds before trying again. If it encounters 5 failures, it will give up and quit.

It is possible that we'll need to add similar returns around other GitHub API calls. If we do, additional updates will be made.

[0.3.6] - 2023-02-09

Added

  • Add sleep and retry when secondary rate limit impacts on PR search (PR #38)

0.3.5

12 Jul 20:03
Compare
Choose a tag to compare

Update to work with newer versions of git

Newer versions of git have added a check to see if the user running a command is the same as the user who owns the repository. If they don't match, the command fails. Adding the repository directory to a "safe list" addresses the issue.

We've updated accordingly.

Updated base image

We've updated our base image from Alpine 3.12 to 3.16. Alpine 3.12 is no longer supported.

[0.3.5] - 2022-07-12

Fixed

  • Update to work with newer versions of git (PR #33)

Changed

0.3.4

29 Apr 20:02
Compare
Choose a tag to compare

Improve logging around multiple push attempts

Previously, if the bot failed to push its updates, it would create a log message for each pull that it attempted but only for the first push. This could be confusing to the user.

Now each push and pull attempt will be logged.

Fix build error coming from PyGitHub dependency

With the release of a new version of PyGitHub, the pynacl dependency changed and no longer builds. We are fine using the previous version of PyGitHub so this update pins us to that version. If we need to upgrade in the future, we'll need to fix the "can't build pynacl" issue.

Create images on release

Permanant, unchanging images for this action are now available in DockerHub and will be updated on each release. See our examples for more details on how to use.

[0.3.4] - 2021-04-29

Fixed

  • Improve logging around multiple push attempts (PR #27)
  • Fix build error caused by PyGitHub version dependencies changing (PR #28)

Added

  • Create images on release (PR #29)

0.3.3

10 Sep 19:38
Compare
Choose a tag to compare

Rebase on pull

Prior to this change, the release-notes-bot would sometimes create a merge commit when pushing changes if it had to pull down other changes first. We now set --rebase when doing pulls to avoid muddying up the history.

[0.3.3] - 2020-09-10

Changed

0.3.2

31 Aug 19:36
Compare
Choose a tag to compare

Fix broken push retries

The previous attempt to fix in 0.3.1 didn't work correctly. According to @EpicEric this fix should work, unlike the last few attempts that @SeanTAllen attempted.

[0.3.2] - 2020-08-31

Fixed

  • Fix broken push retries (PR #25)

0.3.1

30 Aug 13:59
Compare
Choose a tag to compare

Fix broken push retries

Previously, we added a retry to a failed push where we would pull
the latest changes and then push again. However, this didn't work
as the wrong exception was being caught.

[0.3.1] - 2020-08-30

Fixed

  • Fix broken push retries (PR #24)

0.3.0

26 Aug 13:52
Compare
Choose a tag to compare

[0.3.0] - 2020-08-26

Changed

  • Turn on branch.autorebasesetup when pushing/pulling (PR #22)

0.2.0

15 Aug 16:40
Compare
Choose a tag to compare

[0.2.0] - 2020-08-15

Fixed

  • Only get release notes from added files (PR #8)
  • Support multiple release-notes entry files in a single PR (PR #9)

Added

  • Retry if an error is encountered while pushing updating release notes (PR #12)
  • Add ability to work with branches other than the default branch (PR #18)

Changed

  • Pull latest changes before pushing (PR #10)
  • Only update release notes if associated PR had changelog label (PR #17)

0.1.0

21 Jun 14:58
Compare
Choose a tag to compare

[0.1.0] - 2020-06-21

Added

  • Initial release