Releases: ponylang/release-notes-bot-action
0.3.7
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
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
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
- Update base image (PR #35)
0.3.4
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
0.3.2
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
0.3.0
0.2.0
[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
0.1.0
[0.1.0] - 2020-06-21
Added
- Initial release