Add Github Functionality by basil-squared · Pull Request #166 · allthingslinux/tux
added 4 commits
April 11, 2024 21:25…t accidental commit of private keys refactor(pyproject.toml): replace pygithub with githubkit for better GitHub App authentication support
…on with GitHub API refactor(constants.py): rename BOT_SOURCE to GITHUB_REPO_URL for better clarity fix(constants.py): add base64 decoding for GITHUB_PRIVATE_KEY_BASE64 to ensure correct format for private key
refactor(ghub.py): improve error handling and code readability by extracting common code into helper functions feat: add create, get, and comment commands to GitHub bot - The create command allows users to create a pull request in a specified repository. - The get command retrieves a specific pull request from a repository. - The comment command allows users to comment on a specific pull request in a repository. These changes were made to enhance the functionality of the GitHub bot. chore(ghub.py): remove ghub.py file as it is no longer needed in the project
…erations This new class provides methods for interacting with GitHub, including fetching repositories, creating issues, creating issue comments, closing issues, fetching issues, fetching open issues, fetching closed issues, fetching open pull requests, fetching closed pull requests, and fetching specific pull requests. This will allow for more streamlined and centralized handling of GitHub operations within the application.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters