sahil-sagwekar2652 / GitHub-Automation-scripts

Bash and Python scripts to automate your Git & GitHub workflow. Made by using only standard python libraries.
https://sahil-sagwekar2652.github.io/GitHub-Automation-scripts/
MIT License
52 stars 64 forks source link

Create an Issue by Python #58

Closed ayush-09 closed 1 year ago

ayush-09 commented 1 year ago

To create an issue on GitHub using Python, you can utilize the GitHub API and the requests library.

This is the python script which utilize the GitHub API and create the issue with the relavant title and description. Just run the python file with the required changes accordingly to your need.

ayush-09 commented 1 year ago

I am an active participant of the GirlScript Summer of Code (GSSoC) program and I would like to contribute to this issue. I believe it aligns well with my skills and interests. @sahil-sagwekar2652 Please assign this to me

sahil-sagwekar2652 commented 1 year ago

This sounds like a good idea. I'm assigning this issue to you.

ayush-09 commented 1 year ago

@sahil-sagwekar2652 Please review this issue and let me know if any changes required. Thanks

ayush-09 commented 1 year ago

@sahil-sagwekar2652 Thanks for review my code and tell my mistakes. Apology for this error with the file name and code. I miss the token part in that code now i update the code and its working fine with this headers = { 'Authorization': f'token {token}', 'Accept': 'application/vnd.github.v3+json' } Please review this final code

ayush-09 commented 1 year ago

@sahil-sagwekar2652 I updated this, please review and merge if everything is all right. Thanks

ayush-09 commented 1 year ago

@sahil-sagwekar2652 Please check this provide the relevant tag. Thanks