An open API service indexing awesome lists of open source software.

https://github.com/gamcoh/github-automation-tools

Scripts that help automate Github tasks
https://github.com/gamcoh/github-automation-tools

automation github github-api github-issues python

Last synced: 7 months ago
JSON representation

Scripts that help automate Github tasks

Awesome Lists containing this project

README

          

# 🔧 Github-Automation-Tools
Tools to automate certain tasks

## Instalation
```
git clone https://github.com/gamcoh/Github-Automation-Tools.git
pip install -r requirements.txt
```

## Instructions
### Total Time
Create an issue with the total time from all the others opened issues.
In the body of the issues you should have something like that:

```
Issue description
...
Time : 4h
```
Or
```
Issue description
...
Time : 2h - 1,5d
```
Or
```
Issue description
...
Time : 30m/task
```

Add your `credentials` to `getTimeFromIssues.py`:
```
credentials = {
'login_username': 'LOGIN',
'password': 'YOUR_PASSWORD',
'repo': 'USERNAME/REPO_NAME',
'assignee': 'ASSIGNEE_NAME'
}
```

And then run the script:
```
python getTimeFromIssues.py
```

Results:

![Capture d’écran 2019-03-21 à 11 10 04](https://user-images.githubusercontent.com/18115514/54745486-eb516300-4bc9-11e9-941f-c6184d663104.png)