From 50cfaeeaaedc4a6529b5a363ba237dce1404ad03 Mon Sep 17 00:00:00 2001 From: Rafael Irgolic Date: Sun, 5 Nov 2023 14:58:34 +0000 Subject: [PATCH] migrate to public repo --- .github/workflows/autopr.yml | 2 +- README.md | 22 ++++++++++----------- autopr/README.md | 18 ++++++++--------- autopr/actions/README.md | 36 +++++++++++++++++----------------- autopr/actions/utils/README.md | 4 ++-- autopr/models/README.md | 10 +++++----- autopr/models/config/README.md | 12 ++++++------ autopr/services/README.md | 20 +++++++++---------- autopr/workflows/README.md | 12 ++++++------ 9 files changed, 68 insertions(+), 68 deletions(-) diff --git a/.github/workflows/autopr.yml b/.github/workflows/autopr.yml index b0884f11..e8dc0685 100644 --- a/.github/workflows/autopr.yml +++ b/.github/workflows/autopr.yml @@ -39,7 +39,7 @@ jobs: ref: main fetch-depth: 1 - name: AutoPR - uses: raphael-francis/autopr-internal@main + uses: irgolic/autopr@main env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} with: diff --git a/README.md b/README.md index f75c8e51..1ee653a0 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Below is an example of AutoPR's Living README: This folder contains files and folders related to a workflow automation system. It provides reusable actions, triggers, and workflows for different automation scenarios. The files include configuration files for Docker images, licenses, makefile-like tasks, automatic pull request workflows, shell scripts, project dependencies, workflow schemas, and more. The folder also includes a collection of Python files for defining actions, triggers, and workflows, as well as services for managing and running automated actions. Overall, this folder supports the development and execution of automated workflows with various actions and conditions. -### [`Dockerfile`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./Dockerfile) +### [`Dockerfile`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./Dockerfile) ๐Ÿ—๏ธ Sets up a Docker image based on the `duffn/python-poetry:3.9-bullseye` image ๐Ÿ”ง Installs git from the bullseye-backports repository @@ -45,7 +45,7 @@ This folder contains files and folders related to a workflow automation system. ๐Ÿš€ Sets the entrypoint to `/entrypoint.sh` for running the app -### [`LICENSE.md`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./LICENSE.md) +### [`LICENSE.md`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./LICENSE.md) ๐Ÿ“„ This file contains the MIT License. ๐Ÿ”’ The license grants permission to use, modify, and distribute the software. @@ -55,7 +55,7 @@ This folder contains files and folders related to a workflow automation system. ๐Ÿ’ผ The license is owned by Raphael Francis Ltd. -### [`Makefile`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./Makefile) +### [`Makefile`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./Makefile) ๐Ÿ“ This file is a makefile-like configuration file. ๐Ÿ”ง It defines various targets and their associated commands. @@ -68,7 +68,7 @@ This folder contains files and folders related to a workflow automation system. ๐Ÿ”ง This file is meant to automate common development tasks and ensure code quality. -### [`action.yml`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./action.yml) +### [`action.yml`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./action.yml) ๐Ÿ“„ This file is a configuration file for an automatic pull request workflow. ๐Ÿ”ง It specifies the details for running the workflow, such as the Docker image to use. @@ -79,12 +79,12 @@ This folder contains files and folders related to a workflow automation system. ๐Ÿ”„ It specifies whether to overwrite existing branches and pull requests when creating from issues. -### [`autopr/`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr) +### [`autopr/`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr) This folder contains a collection of Python files and folders related to a workflow automation system. It includes files for defining actions, triggers, and workflows, as well as services for managing and running automated actions. There are also files for configuring logging settings, defining data models, and interacting with the GitHub platform. Overall, this folder provides a range of reusable actions, triggers, and workflows for different automation scenarios, along with the necessary services and utilities to support them. -### [`entrypoint.sh`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./entrypoint.sh) +### [`entrypoint.sh`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./entrypoint.sh) ๐Ÿ“ The file is a shell script ๐Ÿ”ง It sets the Git configuration for a specific directory @@ -93,7 +93,7 @@ This folder contains a collection of Python files and folders related to a workf ๐Ÿ It runs a Python module called `autopr.gh_actions_entrypoint` -### [`poetry.lock`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./poetry.lock) +### [`poetry.lock`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./poetry.lock) ๐Ÿ“„ This file is an executive summary of a project or report ๐Ÿ” It provides a high-level overview of the main points @@ -107,7 +107,7 @@ This folder contains a collection of Python files and folders related to a workf ๐Ÿ“Œ It is concise and easy to read, even if the file is empty -### [`pyproject.toml`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./pyproject.toml) +### [`pyproject.toml`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./pyproject.toml) ๐Ÿ“‹ This file is a configuration file for a Python project using Poetry. ๐Ÿ” It contains information about the project's name, version, and authors. @@ -119,7 +119,7 @@ This folder contains a collection of Python files and folders related to a workf ๐Ÿ” It specifies the line length and target version for the Black code formatter. -### [`strict_workflow_schema.json`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./strict_workflow_schema.json) +### [`strict_workflow_schema.json`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./strict_workflow_schema.json) ๐Ÿ“„ The file is a JSON schema describing a strict workflow definition. ๐Ÿ” It defines various actions that can be performed within the workflow. @@ -133,7 +133,7 @@ This folder contains a collection of Python files and folders related to a workf ๐Ÿ“š The file can serve as a reference for understanding the structure and capabilities of strict workflows. -### [`trigger_schema.json`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./trigger_schema.json) +### [`trigger_schema.json`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./trigger_schema.json) ๐Ÿ“‹ The file is a JSON schema that describes a configuration for triggers and actions in a workflow. ๐Ÿ”— It includes definitions for various action models such as comment, set_issue_title, walk_files, make_api_call, bash, etc. @@ -147,7 +147,7 @@ This folder contains a collection of Python files and folders related to a workf ๐Ÿ’ป Overall, this file is a powerful tool for defining and configuring automated workflows with various triggers and actions. -### [`workflow_schema.json`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./workflow_schema.json) +### [`workflow_schema.json`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./workflow_schema.json) ๐Ÿ“„ This file is a JSON schema definition for a workflow definition. ๐Ÿ”ง It defines various types and properties for different actions and declarations used in the workflow. diff --git a/autopr/README.md b/autopr/README.md index 3642add2..ec929e22 100644 --- a/autopr/README.md +++ b/autopr/README.md @@ -6,17 +6,17 @@ This folder contains a collection of Python files and folders related to a workflow automation system. It includes files for defining actions, triggers, and workflows, as well as services for managing and running automated actions. There are also files for configuring logging settings, defining data models, and interacting with the GitHub platform. Overall, this folder provides a range of reusable actions, triggers, and workflows for different automation scenarios, along with the necessary services and utilities to support them. -### [`__init__.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/__init__.py) +### [`__init__.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/__init__.py) This file is empty. -### [`actions/`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions) +### [`actions/`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions) This folder contains a collection of Python files that implement various actions for automating tasks. Each file represents a different action, such as running a bash command, generating choices based on user prompts, publishing comments on GitHub issues, committing and pushing changes to a remote repository, searching for specific keywords in files, inserting content into strings, and more. The files define classes that encapsulate the logic for each action, and they often include input and output models for data validation. Some files also include example usage and test cases. Additionally, there are utility files for managing prompt context and listing files in a folder. Overall, the folder provides a range of reusable actions for different automation scenarios. -### [`gh_actions_entrypoint.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/gh_actions_entrypoint.py) +### [`gh_actions_entrypoint.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/gh_actions_entrypoint.py) ๐Ÿ“„ This file is the entry point for a GitHub Actions workflow. ๐Ÿ”ง It contains the main logic for running the workflow. @@ -30,7 +30,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ”’ The GitHub token is used for authentication and authorization. -### [`log_config.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/log_config.py) +### [`log_config.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/log_config.py) ๐Ÿ“ This file is used to configure logging settings and create loggers. ๐Ÿ”ง It imports the necessary modules for logging and structlog. @@ -42,7 +42,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ”ง The configure_logging function is called to configure logging on module import. -### [`main.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/main.py) +### [`main.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/main.py) ๐Ÿ“‹ This file contains the implementation of the `MainService` class, which serves as the main entry point for the application. ๐Ÿ”ง It initializes various services and handles the execution of triggers and workflows. @@ -56,17 +56,17 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ”— The `TriggerService` class handles the interaction between triggers, workflows, and the commit service. -### [`models/`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models) +### [`models/`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models) This folder contains files and folders related to a workflow automation system for handling events in the AutoPR system. It includes files for defining data models, handling events, configuring workflows, and executing automation actions. The files define classes and types for messages, threads, issues, pull requests, events, context variables, templates, and executables. Overall, this folder provides a flexible and extensible system for defining and configuring automated actions and workflows in the AutoPR system. -### [`services/`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services) +### [`services/`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services) This folder contains a collection of Python files that implement various services and classes for managing and running automated actions in a pull request workflow. These services include the `ActionService` for handling actions, the `CacheService` for caching data, the `CommitService` for managing Git commits, the `DiffService` for working with diffs, the `PlatformService` for interacting with the GitHub platform, the `PublishService` for publishing updates to pull requests, the `TriggerService` for handling triggers and executing workflows, the `Utils` module for formatting and truncating data, and the `WorkflowService` for executing workflows and actions. Each file contains detailed documentation and comments explaining the purpose and functionality of the classes and methods. -### [`triggers.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/triggers.py) +### [`triggers.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/triggers.py) ๐Ÿ“„ This file defines a function called `get_all_triggers`. ๐Ÿ“‚ It imports necessary modules and classes. @@ -80,7 +80,7 @@ This folder contains a collection of Python files that implement various service ๐Ÿ“ฅ The function takes optional parameters for the configuration directory and repository path. -### [`workflows/`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows) +### [`workflows/`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows) This folder contains a Python script (`__init__.py`) that collects and loads workflow configurations from YAML files. The script recursively searches for YAML files in a specified folder and its subfolders. It handles exceptions and logs errors during the loading and validation process. The loaded workflows are returned as the result of the `get_all_workflows()` function. The folder also includes several YAML files that define different workflows for tasks such as making API calls and saving responses to files, automating the process of summarizing files and folders, inserting content into files, managing TODO issues in code repositories, and summarizing changes in pull requests. diff --git a/autopr/actions/README.md b/autopr/actions/README.md index fa00c59a..55b6fa45 100644 --- a/autopr/actions/README.md +++ b/autopr/actions/README.md @@ -6,7 +6,7 @@ This folder contains a collection of Python files that implement various actions for automating tasks. Each file represents a different action, such as running a bash command, generating choices based on user prompts, publishing comments on GitHub issues, committing and pushing changes to a remote repository, searching for specific keywords in files, inserting content into strings, and more. The files define classes that encapsulate the logic for each action, and they often include input and output models for data validation. Some files also include example usage and test cases. Additionally, there are utility files for managing prompt context and listing files in a folder. Overall, the folder provides a range of reusable actions for different automation scenarios. -### [`__init__.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/__init__.py) +### [`__init__.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/__init__.py) ๐Ÿ“ This file is used to automatically import all modules within the same directory. ๐Ÿ” It identifies all Python files and directories within the current directory. @@ -15,7 +15,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ“š The purpose is to make it easier to import and use the contents of this directory. -### [`base.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/base.py) +### [`base.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/base.py) ๐Ÿ“‹ This file defines a base class and metaclass for actions in an autonomous agent system. ๐Ÿ” The purpose of the file is to provide a framework for creating and registering actions. @@ -25,7 +25,7 @@ This folder contains a collection of Python files that implement various actions ๐ŸŒŸ The file also includes a function for retrieving a dictionary of registered actions. -### [`bash.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/bash.py) +### [`bash.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/bash.py) ๐Ÿ“ This file contains a Python script for running a bash command and returning its output. ๐Ÿ“ฆ It imports necessary modules and classes. @@ -38,7 +38,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ”ฌ The file can be used to test the `Bash` action and see its output. -### [`choice.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/choice.py) +### [`choice.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/choice.py) ๐Ÿ“„ This file contains the implementation of a Python class called "Choice". ๐Ÿ”€ The "Choice" class is an action that prompts the user to make a choice from a given list. @@ -51,7 +51,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ“š The file also includes type annotations and Pydantic models for input and output data. -### [`comment.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/comment.py) +### [`comment.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/comment.py) ๐Ÿ“„ This file defines a class called "Comment" that represents an action to publish a comment on a GitHub issue. ๐Ÿ”‘ The class has an "id" attribute set to "comment". @@ -64,7 +64,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ“– The purpose of this file is to define the "Comment" action and its associated input model. -### [`commit_and_push.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/commit_and_push.py) +### [`commit_and_push.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/commit_and_push.py) ๐Ÿ“ This file defines a class called "CommitAndPush" that represents an action to commit and push changes to a remote repository. ๐Ÿ“ The class has an "id" attribute set to "commit_and_push". @@ -78,7 +78,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ“ The file has a docstring that provides a brief description of the "CommitAndPush" class. -### [`find_todos.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/find_todos.py) +### [`find_todos.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/find_todos.py) ๐Ÿ“ This file is a Python script that scans through files in a directory and its subdirectories to find comments containing specific keywords like "TODO" or "FIXME". ๐Ÿ” It uses Tree-sitter to parse the files and extract the comments. @@ -87,7 +87,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ“‹ The script can be run standalone, and it includes a main function that demonstrates how to run it manually. -### [`insert_content_into_text.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/insert_content_into_text.py) +### [`insert_content_into_text.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/insert_content_into_text.py) ๐Ÿ“ This file contains a Python class called "InsertContentIntoText" that implements an action for inserting content into a string at a specified delimiter. ๐Ÿ–Š๏ธ The class takes inputs such as the existing content, delimiter, and content to add. @@ -101,7 +101,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ’ก The purpose of this file is to provide a reusable action for inserting content into a string at a specified delimiter. -### [`list_folder.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/list_folder.py) +### [`list_folder.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/list_folder.py) ๐Ÿ“„ This file contains the implementation of a Python class called "ListFolder". ๐Ÿ“‚ The purpose of this class is to list all the files and subfolders in a given folder, excluding certain files and directories. @@ -114,7 +114,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ”— The ListFolder class is part of a larger codebase, as indicated by the import statements and the conditional execution check at the end of the file. -### [`make_api_call.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/make_api_call.py) +### [`make_api_call.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/make_api_call.py) ๐Ÿ“ This file contains a Python script that makes an API call to a specified endpoint URL. ๐Ÿ“ฆ It defines two classes, `Inputs` and `Outputs`, which represent the input and output data for the API call action. @@ -127,7 +127,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ”ฝ The API endpoint URL and headers are provided as inputs to the `run_action_manually` function, which executes the action using asyncio. -### [`prompt.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/prompt.py) +### [`prompt.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/prompt.py) ๐Ÿ“ This file contains a Python script that defines a class called "PromptString". ๐Ÿ” The purpose of the file is to generate a string prompt using OpenAI's GPT-3.5 Turbo model. @@ -141,7 +141,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ‘€ The output of the script is printed to the console. -### [`publish_issue.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/publish_issue.py) +### [`publish_issue.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/publish_issue.py) ๐Ÿ“ This file contains Python code for publishing or updating an issue on a platform. ๐Ÿ” It defines a class called `PublishIssue` which is responsible for creating or updating issues. @@ -155,7 +155,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ’ก The purpose of this file is to provide a reusable action for publishing or updating issues on a platform. -### [`read_file.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/read_file.py) +### [`read_file.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/read_file.py) ๐Ÿ“ This file contains a class called "ReadFile" which represents an action to read the contents of a file. ๐Ÿ” It has a static method to load the contents of a Jupyter notebook file and another static method to ensure a file exists at a given file path. @@ -164,7 +164,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ’ก It can be run directly to test the "ReadFile" action. -### [`search.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/search.py) +### [`search.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/search.py) ๐Ÿ“ This file defines a class called "Search" that performs a search for a given query in all files within a specified directory and its subdirectories. ๐Ÿ“‚ The search is performed by iterating through each file, reading its contents, and checking if the query is present in any line. @@ -178,7 +178,7 @@ This folder contains a collection of Python files that implement various actions ๐Ÿƒโ€โ™€๏ธ The file can be run as a standalone script to execute the search action manually. -### [`set_issue_title.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/set_issue_title.py) +### [`set_issue_title.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/set_issue_title.py) ๐Ÿ“„ This file defines a class called `SetIssueTitle` which is an action to set the title of an issue. ๐Ÿ”‘ The class has an `id` attribute with the value "set_issue_title". @@ -191,12 +191,12 @@ This folder contains a collection of Python files that implement various actions ๐Ÿ“š This file uses the `pydantic` library to define the data model for the `Inputs` class. -### [`utils/`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/utils) +### [`utils/`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/utils) This folder contains two files. The `__init__.py` file is empty. The `prompt_context.py` file provides functionality for managing and manipulating prompt context in a conversational AI system. It defines classes and functions for representing and manipulating prompt context, trimming the context if it exceeds a specified token length, calculating the token length of a string for a given model, and invoking the OpenAI Chat Completion API. The file also includes import statements and uses external libraries such as `pydantic`, `tenacity`, and `tiktoken`. -### [`walk_files.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/walk_files.py) +### [`walk_files.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/walk_files.py) ๐Ÿ“‚ This file contains code for listing files and subfolders in a given folder. ๐Ÿ” It excludes certain files and directories based on predefined patterns. @@ -210,7 +210,7 @@ This folder contains two files. The `__init__.py` file is empty. The `prompt_con ๐Ÿ“š The code also includes import statements and a main block for manual execution/testing. -### [`write_into_file.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/write_into_file.py) +### [`write_into_file.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/write_into_file.py) ๐Ÿ“ This file defines a class called "WriteIntoFile" that is responsible for writing content into a file. ๐Ÿ”’ It imports necessary modules and defines input and output models using Pydantic. diff --git a/autopr/actions/utils/README.md b/autopr/actions/utils/README.md index 97f71bd1..d4598b53 100644 --- a/autopr/actions/utils/README.md +++ b/autopr/actions/utils/README.md @@ -6,12 +6,12 @@ This folder contains two files. The `__init__.py` file is empty. The `prompt_context.py` file provides functionality for managing and manipulating prompt context in a conversational AI system. It defines classes and functions for representing and manipulating prompt context, trimming the context if it exceeds a specified token length, calculating the token length of a string for a given model, and invoking the OpenAI Chat Completion API. The file also includes import statements and uses external libraries such as `pydantic`, `tenacity`, and `tiktoken`. -### [`__init__.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/utils/__init__.py) +### [`__init__.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/utils/__init__.py) This file is empty. -### [`prompt_context.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/utils/prompt_context.py) +### [`prompt_context.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/actions/utils/prompt_context.py) ๐Ÿ“ This file contains code for handling prompt context in a conversational AI system. ๐Ÿ”ข It defines classes and functions related to the representation and manipulation of prompt context. diff --git a/autopr/models/README.md b/autopr/models/README.md index 675cb7b3..bf39a2d9 100644 --- a/autopr/models/README.md +++ b/autopr/models/README.md @@ -6,12 +6,12 @@ This folder contains files and folders related to a workflow automation system for handling events in the AutoPR system. It includes files for defining data models, handling events, configuring workflows, and executing automation actions. The files define classes and types for messages, threads, issues, pull requests, events, context variables, templates, and executables. Overall, this folder provides a flexible and extensible system for defining and configuring automated actions and workflows in the AutoPR system. -### [`__init__.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/__init__.py) +### [`__init__.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/__init__.py) This file is empty. -### [`artifacts.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/artifacts.py) +### [`artifacts.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/artifacts.py) ๐Ÿ“„ This file contains Python code for defining data models related to messages, threads, issues, and pull requests. ๐Ÿงต The `Message` class represents a message with a body and an author. @@ -22,12 +22,12 @@ This file is empty. ๐Ÿ”ง The file also defines a type alias `DiffStr` for a string representing code diffs. -### [`config/`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config) +### [`config/`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config) This folder contains several Python files that provide a framework for defining and executing workflows with customizable actions and context variables. It includes models for data validation, models and classes for workflows, actions, and context variables, code for building workflow definitions and trigger configurations for an automated PR system, classes for transforming variables between config and action types, and code for handling variables and parameters within a specific context. Overall, this folder provides a flexible and extensible system for defining and configuring automated actions and workflows. -### [`events.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/events.py) +### [`events.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/events.py) ๐Ÿ“„ The file defines several classes related to events in the AutoPR system. ๐Ÿ”€ The `Event` class is the base class for all events and has a `pull_request` and `issue` attribute. @@ -41,7 +41,7 @@ This folder contains several Python files that provide a framework for defining ๐Ÿ” The file may be used to handle and process various types of events in the AutoPR system. -### [`executable.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/executable.py) +### [`executable.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/executable.py) ๐Ÿ“„ This file defines various types and classes related to context variables, templates, and executables in a workflow automation system. ๐Ÿ“ Types include LambdaString, ContextVarName, ContextVarPath, TemplateString, and TemplateObject. diff --git a/autopr/models/config/README.md b/autopr/models/config/README.md index 36dd026e..9f83539f 100644 --- a/autopr/models/config/README.md +++ b/autopr/models/config/README.md @@ -6,12 +6,12 @@ This folder contains several Python files that provide a framework for defining and executing workflows with customizable actions and context variables. It includes models for data validation, models and classes for workflows, actions, and context variables, code for building workflow definitions and trigger configurations for an automated PR system, classes for transforming variables between config and action types, and code for handling variables and parameters within a specific context. Overall, this folder provides a flexible and extensible system for defining and configuring automated actions and workflows. -### [`__init__.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/__init__.py) +### [`__init__.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/__init__.py) This file is empty. -### [`common.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/common.py) +### [`common.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/common.py) ๐Ÿ“„ This file contains two Pydantic model classes: `StrictModel` and `ExtraModel`. ๐Ÿ”’ The `StrictModel` class enforces strict validation of input data, forbidding any extra fields. @@ -20,7 +20,7 @@ This file is empty. ๐Ÿ“ These model classes are likely used to define the structure and validation rules for data in a Python application. -### [`elements.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/elements.py) +### [`elements.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/elements.py) ๐Ÿ“š This file defines various models and classes related to workflows, actions, and context variables. ๐Ÿ“ It includes models for context actions such as setting variables and conditional execution. @@ -31,7 +31,7 @@ This file is empty. ๐Ÿš€ Overall, this file provides a framework for defining and executing workflows with customizable actions and context variables. -### [`entrypoints.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/entrypoints.py) +### [`entrypoints.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/entrypoints.py) ๐Ÿ“„ This file contains code for building workflow definitions and trigger configurations for an automated PR (pull request) system. It includes the following functionality: - Building workflow models dynamically based on currently defined workflows @@ -41,7 +41,7 @@ This file is empty. - The purpose of the file is to provide a framework for defining and configuring automated actions and workflows for handling PR events. -### [`transform.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/transform.py) +### [`transform.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/transform.py) ๐Ÿ“„ This file defines two generic classes for transforming variables between config and action types. ๐Ÿ”„ The `TransformsInto` class is used to transform a config variable into the type used in the action. @@ -53,7 +53,7 @@ This file is empty. ๐Ÿ“ The file imports the `ContextDict` class from the `autopr.models.executable` module. -### [`value_declarations.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/value_declarations.py) +### [`value_declarations.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/models/config/value_declarations.py) ๐Ÿ“ This file contains code that defines various classes and declarations related to variables and parameters. ๐Ÿงฉ The purpose of this file is to provide a framework for rendering and evaluating different types of variables within a context. diff --git a/autopr/services/README.md b/autopr/services/README.md index a92aee58..2e1f9fc9 100644 --- a/autopr/services/README.md +++ b/autopr/services/README.md @@ -6,12 +6,12 @@ This folder contains a collection of Python files that implement various services and classes for managing and running automated actions in a pull request workflow. These services include the `ActionService` for handling actions, the `CacheService` for caching data, the `CommitService` for managing Git commits, the `DiffService` for working with diffs, the `PlatformService` for interacting with the GitHub platform, the `PublishService` for publishing updates to pull requests, the `TriggerService` for handling triggers and executing workflows, the `Utils` module for formatting and truncating data, and the `WorkflowService` for executing workflows and actions. Each file contains detailed documentation and comments explaining the purpose and functionality of the classes and methods. -### [`__init__.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/__init__.py) +### [`__init__.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/__init__.py) This file is empty. -### [`action_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/action_service.py) +### [`action_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/action_service.py) ๐Ÿ’ผ This file contains the implementation of the `ActionService` class, which is responsible for managing and running actions in an automated PR workflow. ๐Ÿ’ง The `ActionService` class provides methods for finding, instantiating, and running actions based on their configurations. @@ -25,7 +25,7 @@ This file is empty. โš ๏ธ If an action fails to run, an error message is displayed and the exception is raised. -### [`cache_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/cache_service.py) +### [`cache_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/cache_service.py) ๐Ÿ“ The file contains a class called `CacheService` and its subclass `ShelveCacheService`. ๐Ÿ“ The purpose of the file is to provide a caching service using the `shelve` module. @@ -39,7 +39,7 @@ This file is empty. ๐Ÿ”’ The cache files are opened and closed using the `shelve` module. -### [`commit_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/commit_service.py) +### [`commit_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/commit_service.py) ๐Ÿ“„ The file contains a class called `CommitService` that provides functionality for creating branches, committing changes, and pushing them to a Git repository. ๐Ÿ”ง The class ensures that there is always a commit on the branch, even if it is empty. @@ -52,7 +52,7 @@ This file is empty. ๐Ÿ”’ The class uses a logger for logging debug and info messages. -### [`diff_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/diff_service.py) +### [`diff_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/diff_service.py) ๐Ÿ“ The file contains a class called `DiffService` which is a service for getting and applying diffs. ๐Ÿ“ Diffs are represented as `DiffStr`, which is an alias for `str`. @@ -66,7 +66,7 @@ This file is empty. ๐Ÿ“ The file includes a logger for debugging purposes. -### [`platform_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/platform_service.py) +### [`platform_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/platform_service.py) ๐Ÿ“„ This file contains two classes: `PlatformService` and `GitHubPlatformService`. ๐Ÿ”ง `PlatformService` is a base class for making API calls to a platform (e.g., GitHub). @@ -80,12 +80,12 @@ This file is empty. ๐ŸŒ The purpose of this file is to provide a service for interacting with the GitHub platform, including creating and managing pull requests and issues. -### [`publish_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/publish_service.py) +### [`publish_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/publish_service.py) ๐Ÿ’ก This file contains the implementation of a service for publishing updates to a pull request description. It includes classes like `CodeBlock` and `UpdateSection` to represent different elements in the description. The main class is `PublishService`, which provides methods for updating and finalizing the pull request description. There are also subclasses `GitHubPublishService` and `DummyPublishService` for specific platforms. -### [`trigger_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/trigger_service.py) +### [`trigger_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/trigger_service.py) ๐Ÿ“„ This file contains a class called `TriggerService`. ๐ŸŽ›๏ธ `TriggerService` is responsible for handling triggers and executing workflows based on events. @@ -99,7 +99,7 @@ This file is empty. ๐Ÿ”’ The file also contains a logger and some printing statements for debugging purposes. -### [`utils.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/utils.py) +### [`utils.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/utils.py) ๐Ÿ’ก This file contains functions for formatting and truncating data for publishing. ๐Ÿ’ก The `truncate_strings` function truncates strings to a specified length and adds an ellipsis if necessary. @@ -109,7 +109,7 @@ This file is empty. ๐Ÿ’ก The functions are designed to be used together to prepare data for display or publication. -### [`workflow_service.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/workflow_service.py) +### [`workflow_service.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/services/workflow_service.py) ๐Ÿ“„ This file contains the implementation of a WorkflowService class. ๐ŸŒŠ The WorkflowService class is responsible for executing workflows and actions based on their IDs. diff --git a/autopr/workflows/README.md b/autopr/workflows/README.md index 4064dafd..cd1f63f9 100644 --- a/autopr/workflows/README.md +++ b/autopr/workflows/README.md @@ -6,7 +6,7 @@ This folder contains a Python script (`__init__.py`) that collects and loads workflow configurations from YAML files. The script recursively searches for YAML files in a specified folder and its subfolders. It handles exceptions and logs errors during the loading and validation process. The loaded workflows are returned as the result of the `get_all_workflows()` function. The folder also includes several YAML files that define different workflows for tasks such as making API calls and saving responses to files, automating the process of summarizing files and folders, inserting content into files, managing TODO issues in code repositories, and summarizing changes in pull requests. -### [`__init__.py`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/__init__.py) +### [`__init__.py`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/__init__.py) ๐Ÿ“ This file contains a Python script. ๐Ÿ› ๏ธ The purpose of the script is to collect and load workflow configurations from YAML files. @@ -20,7 +20,7 @@ This folder contains a Python script (`__init__.py`) that collects and loads wor ๐Ÿš€ The script can be extended or modified to fit specific workflow configuration needs. -### [`api_git_history.yaml`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/api_git_history.yaml) +### [`api_git_history.yaml`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/api_git_history.yaml) ๐Ÿ“ This file defines a set of steps for making an API call, saving the response to a file, and committing and pushing the file to a git repository. ๐Ÿ”— The API call endpoint URL, headers, and filepath are defined as inputs. @@ -29,7 +29,7 @@ This folder contains a Python script (`__init__.py`) that collects and loads wor ๐Ÿ“ฆ Finally, the file is committed and pushed to a git repository, with a commit message template that includes the endpoint URL and filepath. -### [`autogenerate_readmes.yaml`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/autogenerate_readmes.yaml) +### [`autogenerate_readmes.yaml`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/autogenerate_readmes.yaml) ๐Ÿ“ This file defines a series of workflows for summarizing files and folders and generating a living README summary. ๐Ÿ“ The file contains several workflows, including "summarize_file", "summarize_folder", and "generate_summary". @@ -42,7 +42,7 @@ This folder contains a Python script (`__init__.py`) that collects and loads wor ๐Ÿš€ The file is designed to automate the process of summarizing files and folders, making it easier to maintain an up-to-date README summary. -### [`insert_into_readme.yaml`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/insert_into_readme.yaml) +### [`insert_into_readme.yaml`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/insert_into_readme.yaml) ๐Ÿ“ This file defines a task called "insert_into_readme" that inserts content into a file between two HTML-style comments. ๐Ÿ“‚ The file path, tag name, and content to insert are specified as inputs. @@ -54,12 +54,12 @@ This folder contains a Python script (`__init__.py`) that collects and loads wor โœ… The task returns a success flag indicating whether the write operation was successful. -### [`list_and_publish_todos.yaml`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/list_and_publish_todos.yaml) +### [`list_and_publish_todos.yaml`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/list_and_publish_todos.yaml) ๐Ÿ“„ This file defines a workflow for managing TODO issues in code repositories. -### [`summarize_pr.yaml`](https://github.com/raphael-francis/AutoPR-internal/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/summarize_pr.yaml) +### [`summarize_pr.yaml`](https://github.com/irgolic/autopr/blob/6eca175af1a796cf6de44b15fa4a9cb81752e58c/./autopr/workflows/summarize_pr.yaml) ๐Ÿ“ This file defines a workflow called `summarize_pr` that summarizes the changes in a pull request. ๐Ÿ” It uses the `git diff` command to get the difference between the base commit and the pull request.