Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tubone24/github-api-v4-python
Aggregate PR to the master branch and output the release results in CSV format.
https://github.com/tubone24/github-api-v4-python
githubapi graphql release-management
Last synced: 1 day ago
JSON representation
Aggregate PR to the master branch and output the release results in CSV format.
- Host: GitHub
- URL: https://github.com/tubone24/github-api-v4-python
- Owner: tubone24
- Created: 2019-12-15T05:17:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:09:22.000Z (about 1 year ago)
- Last Synced: 2024-04-13T04:55:37.304Z (9 months ago)
- Topics: githubapi, graphql, release-management
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-api-v4-python
Aggregate PR to the master branch and output the release results in CSV format.
## Background
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.
## How to use
### Precondition
- Python3.6 or more.
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.
## How to use
```
python get_master_deploy.py
```## More Information?
Read the article below.
[面倒なことはPythonにやらせよう@GitHub API v4を使ったリリース実績取得](https://blog.tubone-project24.xyz/2019/12/16/python-auto)