Aggregate PR to the master branch and output the release results in CSV format.
Aggregate PR to the master branch and output the release results in CSV format.
Normally, when you release a system, there should be a release management table that summarizes the release date and release contents, such as release management, but it was troublesome because it was not organized! It was something.
However, our source is managed on GitHub, and we always follow the branch strategy of Git-flow, so if you collect PR and commit history, you can do it! It was.
Install dependencies.
pip install -r requirements.txt
Create environments file(dot env).
touch .env
Set the GitHub API Tokens to .env
.
TOKEN=YourGitHubToken
ENDPOINT=https://api.github.com/graphql
If you use Hosted GitHub Enterprise, Change ENDPOINT to yours.
python get_master_deploy.py
Read the article below.