Skip to content

Automates the creation of detailed GitHub issues for error reporting. Detects exceptions, generates reports, and submits them as issues dynamically.

License

Notifications You must be signed in to change notification settings

RedNeckSnailSpit/IssueAutomationTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issue Automation Test

This project demonstrates an automated GitHub issue creation process. It dynamically detects errors, generates detailed reports, and submits them as issues to a specified GitHub repository.

Features

  • Automatically detects runtime errors (exceptions).
  • Dynamically retrieves and confirms the repository name.
  • Creates detailed GitHub issues with error details, stack traces, and unique exception hashes to prevent duplicates.
  • Includes a setup process for saving configuration data (config.json) - Note: Saves in plain text

Usage

Prerequisites

  • Python 3.10 or higher.
  • A GitHub account with access to the desired repository.
  • A Personal Access Token (PAT) with the following scopes:
    • repo (for private repositories).
    • public_repo (for public repositories).

Setup Process

  1. Clone this repository:
    git clone https://github.com/RedNeckSnailSpit/IssueAutomationTest.git
  2. Navigate to the repository directory:
    cd IssueAutomationTest
  3. Run the script as-is and go through the setup process.
    python main.py
  4. Once completed, you should see the config.json file in the repository - Keep this file safe, it contains your GitHub token.

Credit

Please see the CREDITS for this project.

License

Please see the LICENSE for this project.