box / box-android-sdk

Apache License 2.0
62 stars 74 forks source link

Add GitHub action that notifies Box developer changelog #430

Closed cbetta closed 4 years ago

cbetta commented 4 years ago

Hey SDK team, it's time for some exciting new stuff! As you know, I've been working on a new unified developer changelog for on developer.box.com, and as part of this I've set up a workflow that will automatically import new GitHub Releases for this project into our developer changelog repository.

This pull request adds a new GitHub action workflow that will notify the changelog repository of any new GitHub releases when they happen. More details on how this automation works can be found in this section of the related repository: https://github.com/box/box-developer-changelog#automatic-contributions

Things we need to do now

  1. Merge this pull request
  2. Enable 3rd party GitHub actions in the GitHub actions tab for this repository. This will allow us to use the peter-evans/repository-dispatch@v1 action to send notifications across repositories.
  3. Add a DISPATCH_ACCESS_TOKEN secret to the GitHub secrets for this repository. This allows us to act as @box-devrel when notifying across repositories. Please talk to me in Slack for this token.

How to make a new release?

Just keep making new releases as you always have, but maybe check out the documents below for some guidelines as to how to best write your markdown and best structure release notes.

Every time you make a new release:

An example of how this would work can be seen in this test release that was automatically merged.

Useful things to read next

As per multiple requests, we've put together some guidelines on how to write a great Release Note. For this reason, we've put together a few templates, as well as a markdown style guide.