Do you like to have the auto generated release notes for your GitHub repository? But are you too lazy to work in branches on your own projects? Then this is the tool for you! This tool will generate release notes for your repository based on the commits in the main branch.
There are two methods to run this code. The first method is to run the Python code locally. The second method is to run the workflow in your GitHub repository to generate the release notes automatically.
The required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block after cloning the repository:
pip install -r requirements.txt
Simply copy the contents of the .github/workflows/release_notes.yml
file to the .github/workflows
directory in your repository. This will automatically generate the release notes for your repository, if you run the action. You can then copy paste the output to the release notes of your repository.
For the Python code, you can configure the following settings in the example.env
file:
GITHUB_TOKEN
: The GitHub token to access the GitHub API. You can create a token hereREPO_OWNER
: The owner of the repositoryREPO_NAME
: The name of the repository
To run the Python code, execute the following code block:
python main.py
The following example shows the output of the release notes generator:
# Release Notes
- #575 Add isort & black worfklow + pyproject.toml (closed on 2024-05-31)
- #573 Fix crypto TV ideas (closed on 2024-06-05)
- #568 Add cryptomoonshot subreddit (closed on 2024-06-05)
- #540 Only use reaction text of quote tweet for sentiment (closed on 2024-05-25)
- #539 retweet with img text is too short (closed on 2024-05-25)
- #534 List of broken APIs / channels (closed on 2024-06-15)
- #532 Use twikit for follow and unfollow commands (closed on 2024-05-25)
- #510 Improve reddit video embed (closed on 2024-05-25)
- #499 Change liquidations API (closed on 2024-06-15)
- #334 $ES_F bug (closed on 2024-05-26)
- #310 Fix reply to tweet text + img (closed on 2024-05-25)