Coder Social home page Coder Social logo

basemax / autocreategithubissuesmanage Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 26 KB

Automatically create GitHub issues from a file using Python. (Project Management)

License: GNU General Public License v3.0

Python 100.00%
github github-issue github-issues project-management project-manager py python python3

autocreategithubissuesmanage's Introduction

Auto Create GitHub Issues - Project Management

Automatically create GitHub issues from a file using Python.

This script reads a file, splits it into lines, trims each line, and creates issues on your GitHub repository with the titles from the non-empty lines.

Installation

Clone the repository:

git clone https://github.com/BaseMax/AutoCreateGitHubIssuesManage.git

Navigate to the project directory:

cd AutoCreateGitHubIssuesManage

Install required dependencies:

pip install -r requirements.txt

Use:

GITHUB_TOKEN=xxxxxxxxxxxx python script.py

or

set GITHUB_TOKEN=xxxxxxxxxxxx && python script.py

Usage

Create a GitHub token and set it in the .env file:

GITHUB_TOKEN=your_actual_github_token_here

Replace the placeholder values in script.py with your actual file path, GitHub username/organization, and repository name.

Run the script:

python script.py

Demo

C:\Users\MAX\Projects\AutoCreateGitHubIssuesManage>python script.py
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/1
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/2
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/3
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/4
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/5
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/6
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/7
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/8
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/9
Issue created successfully: https://github.com/BaseMax/AutoCreateGitHubIssuesManage/issues/10

License

This project is licensed under the MIT License.

Copyright © 2024 Max Base

autocreategithubissuesmanage's People

Stargazers

John Bampton avatar

Watchers

 avatar

autocreategithubissuesmanage's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.