From fed4c65530a4f6ef3c2f6d2399fcefadd07595f0 Mon Sep 17 00:00:00 2001 From: Heitor Polidoro Date: Thu, 7 Aug 2025 10:02:31 -0300 Subject: [PATCH 1/2] Remove the `githubapp` module and its related classes This commit deletes the entire `githubapp` module, including `events`, `test_helper`, and configuration files, as well as classes for handling GitHub events and check runs. This likely indicates the functionality has been deprecated, migrated, or replaced. --- .gitignore | 3 +- .readthedocs.yaml | 2 +- .run/Build Docs.run.xml | 17 + README.md | 2 +- docs/conf.py | 63 +++- docs/index.md | 29 -- docs/index.rst | 35 ++ docs/requirements.txt | 10 +- githubapp/__init__.py | 13 - githubapp/config.py | 116 ------- githubapp/event_check_run.py | 293 ---------------- githubapp/events/__init__.py | 63 ---- githubapp/events/check_run.py | 28 -- githubapp/events/check_suite.py | 40 --- githubapp/events/create.py | 37 -- githubapp/events/event.py | 138 -------- githubapp/events/issue_comment.py | 39 --- githubapp/events/issues.py | 61 ---- githubapp/events/pull_request_review.py | 44 --- githubapp/events/push.py | 42 --- githubapp/events/release.py | 27 -- githubapp/events/status.py | 67 ---- githubapp/exceptions.py | 5 - githubapp/test_helper/__init__.py | 5 - githubapp/test_helper/defaults.json | 155 --------- githubapp/test_helper/spy.py | 60 ---- githubapp/test_helper/test_case.py | 315 ------------------ githubapp/webhook_handler.py | 288 ---------------- .../branch_protection_rule.created.json | 167 ++++++++++ .../branch_protection_rule.deleted.json | 1 + .../branch_protection_rule.edited.json | 1 + old_payloads/check_run.completed.json | 1 + old_payloads/check_run.created.json | 1 + old_payloads/check_suite.completed.json | 1 + old_payloads/check_suite.requested.json | 237 +++++++++++++ old_payloads/create.json | 1 + old_payloads/delete.json | 1 + old_payloads/deployment.created.json | 1 + old_payloads/deployment_status.created.json | 1 + old_payloads/gollum.json | 1 + old_payloads/installation.created.json | 1 + old_payloads/issue_comment.created.json | 1 + old_payloads/issue_comment.deleted.json | 1 + old_payloads/issue_comment.edited.json | 1 + old_payloads/issues.closed.json | 1 + old_payloads/issues.deleted.json | 1 + old_payloads/issues.demilestoned.json | 1 + old_payloads/issues.edited-big_list.json | 232 +++++++++++++ old_payloads/issues.edited.json | 1 + old_payloads/issues.labeled.json | 1 + old_payloads/issues.milestoned.json | 1 + old_payloads/issues.opened.json | 235 +++++++++++++ old_payloads/issues.reopened.json | 1 + old_payloads/issues.transferred.json | 1 + old_payloads/label.deleted.json | 1 + .../pull_request.auto_merge_disabled.json | 1 + .../pull_request.auto_merge_enabled.json | 1 + old_payloads/pull_request.closed.json | 1 + old_payloads/pull_request.edited.json | 1 + old_payloads/pull_request.opened.json | 1 + .../pull_request.review_requested.json | 1 + old_payloads/pull_request.synchronize.json | 1 + .../pull_request_review.dismissed.json | 1 + .../pull_request_review.submitted.json | 1 + .../pull_request_review_comment.created.json | 1 + .../pull_request_review_thread.resolved.json | 1 + old_payloads/push.json | 1 + old_payloads/release.created.json | 1 + old_payloads/release.published.json | 1 + old_payloads/release.released.json | 1 + old_payloads/repository_ruleset.created.json | 1 + old_payloads/repository_ruleset.deleted.json | 1 + old_payloads/repository_ruleset.edited.json | 184 ++++++++++ old_payloads/security_advisory.published.json | 1 + old_payloads/security_advisory.updated.json | 1 + old_payloads/status.json | 1 + old_payloads/workflow_job.completed.json | 1 + old_payloads/workflow_job.in_progress.json | 1 + old_payloads/workflow_job.queued.json | 1 + old_payloads/workflow_run.completed.json | 1 + old_payloads/workflow_run.in_progress.json | 1 + old_payloads/workflow_run.requested.json | 1 + payload_helper.py | 282 ++++++++++++---- requirements.test.txt | 8 +- requirements.txt | 9 +- sonar-project.properties | 7 +- test_pydantic_versions.sh | 24 ++ tests/v1/conftest.py | 12 + tests/v1/frameworks/__init__.py | 154 +++++++++ tests/v1/frameworks/test_flask.py | 25 ++ tests/v1/handlers/test_handler.py | 33 ++ tests/v1/payloads/check_run.completed.json | 1 + tests/v1/payloads/check_run.created.json | 1 + tests/v1/payloads/check_suite.completed.json | 181 ++++++++++ tests/v1/payloads/check_suite.requested.json | 181 ++++++++++ .../v1/payloads/check_suite.rerequested.json | 181 ++++++++++ tests/v1/payloads/issues.edited.json | 186 +++++++++++ tests/v1/payloads/issues.opened.json | 181 ++++++++++ tests/v1/test_event.py | 30 ++ tests/v1/test_events.py | 60 ++++ tests/v1/test_transition_to_v1.py | 14 + 101 files changed, 2709 insertions(+), 1962 deletions(-) create mode 100644 .run/Build Docs.run.xml delete mode 100644 docs/index.md create mode 100644 docs/index.rst delete mode 100644 githubapp/__init__.py delete mode 100644 githubapp/config.py delete mode 100644 githubapp/event_check_run.py delete mode 100644 githubapp/events/__init__.py delete mode 100644 githubapp/events/check_run.py delete mode 100644 githubapp/events/check_suite.py delete mode 100644 githubapp/events/create.py delete mode 100644 githubapp/events/event.py delete mode 100644 githubapp/events/issue_comment.py delete mode 100644 githubapp/events/issues.py delete mode 100644 githubapp/events/pull_request_review.py delete mode 100644 githubapp/events/push.py delete mode 100644 githubapp/events/release.py delete mode 100644 githubapp/events/status.py delete mode 100644 githubapp/exceptions.py delete mode 100644 githubapp/test_helper/__init__.py delete mode 100644 githubapp/test_helper/defaults.json delete mode 100644 githubapp/test_helper/spy.py delete mode 100644 githubapp/test_helper/test_case.py delete mode 100644 githubapp/webhook_handler.py create mode 100644 old_payloads/branch_protection_rule.created.json create mode 100644 old_payloads/branch_protection_rule.deleted.json create mode 100644 old_payloads/branch_protection_rule.edited.json create mode 100644 old_payloads/check_run.completed.json create mode 100644 old_payloads/check_run.created.json create mode 100644 old_payloads/check_suite.completed.json create mode 100644 old_payloads/check_suite.requested.json create mode 100644 old_payloads/create.json create mode 100644 old_payloads/delete.json create mode 100644 old_payloads/deployment.created.json create mode 100644 old_payloads/deployment_status.created.json create mode 100644 old_payloads/gollum.json create mode 100644 old_payloads/installation.created.json create mode 100644 old_payloads/issue_comment.created.json create mode 100644 old_payloads/issue_comment.deleted.json create mode 100644 old_payloads/issue_comment.edited.json create mode 100644 old_payloads/issues.closed.json create mode 100644 old_payloads/issues.deleted.json create mode 100644 old_payloads/issues.demilestoned.json create mode 100644 old_payloads/issues.edited-big_list.json create mode 100644 old_payloads/issues.edited.json create mode 100644 old_payloads/issues.labeled.json create mode 100644 old_payloads/issues.milestoned.json create mode 100644 old_payloads/issues.opened.json create mode 100644 old_payloads/issues.reopened.json create mode 100644 old_payloads/issues.transferred.json create mode 100644 old_payloads/label.deleted.json create mode 100644 old_payloads/pull_request.auto_merge_disabled.json create mode 100644 old_payloads/pull_request.auto_merge_enabled.json create mode 100644 old_payloads/pull_request.closed.json create mode 100644 old_payloads/pull_request.edited.json create mode 100644 old_payloads/pull_request.opened.json create mode 100644 old_payloads/pull_request.review_requested.json create mode 100644 old_payloads/pull_request.synchronize.json create mode 100644 old_payloads/pull_request_review.dismissed.json create mode 100644 old_payloads/pull_request_review.submitted.json create mode 100644 old_payloads/pull_request_review_comment.created.json create mode 100644 old_payloads/pull_request_review_thread.resolved.json create mode 100644 old_payloads/push.json create mode 100644 old_payloads/release.created.json create mode 100644 old_payloads/release.published.json create mode 100644 old_payloads/release.released.json create mode 100644 old_payloads/repository_ruleset.created.json create mode 100644 old_payloads/repository_ruleset.deleted.json create mode 100644 old_payloads/repository_ruleset.edited.json create mode 100644 old_payloads/security_advisory.published.json create mode 100644 old_payloads/security_advisory.updated.json create mode 100644 old_payloads/status.json create mode 100644 old_payloads/workflow_job.completed.json create mode 100644 old_payloads/workflow_job.in_progress.json create mode 100644 old_payloads/workflow_job.queued.json create mode 100644 old_payloads/workflow_run.completed.json create mode 100644 old_payloads/workflow_run.in_progress.json create mode 100644 old_payloads/workflow_run.requested.json create mode 100644 test_pydantic_versions.sh create mode 100644 tests/v1/conftest.py create mode 100644 tests/v1/frameworks/__init__.py create mode 100644 tests/v1/frameworks/test_flask.py create mode 100644 tests/v1/handlers/test_handler.py create mode 100644 tests/v1/payloads/check_run.completed.json create mode 100644 tests/v1/payloads/check_run.created.json create mode 100644 tests/v1/payloads/check_suite.completed.json create mode 100644 tests/v1/payloads/check_suite.requested.json create mode 100644 tests/v1/payloads/check_suite.rerequested.json create mode 100644 tests/v1/payloads/issues.edited.json create mode 100644 tests/v1/payloads/issues.opened.json create mode 100644 tests/v1/test_event.py create mode 100644 tests/v1/test_events.py create mode 100644 tests/v1/test_transition_to_v1.py diff --git a/.gitignore b/.gitignore index 5bf5bbf..b6f3ff2 100644 --- a/.gitignore +++ b/.gitignore @@ -160,5 +160,4 @@ cython_debug/ #.idea/ /.idea/ /.python-version -/private-key.pem -/payloads/ +/*.pem diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7a5de71..a2f3854 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -8,7 +8,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.9" + python: "3.12" # Build documentation in the "docs/" directory with Sphinx sphinx: diff --git a/.run/Build Docs.run.xml b/.run/Build Docs.run.xml new file mode 100644 index 0000000..b33c768 --- /dev/null +++ b/.run/Build Docs.run.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/README.md b/README.md index cb5264c..5a8db95 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ A handler helper to create GitHub App easily [![Code Quality](https://github.com/heitorpolidoro/github-app-handler/actions/workflows/code_quality.yml/badge.svg)](https://github.com/heitorpolidoro/github-app-handler/actions/workflows/code_quality.yml) [![CodeQL](https://github.com/heitorpolidoro/github-app-handler/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/heitorpolidoro/github-app-handler/actions/workflows/github-code-scanning/codeql) [![PyPi Package](https://github.com/heitorpolidoro/github-app-handler/actions/workflows/pypi-publish.yml/badge.svg)](https://github.com/heitorpolidoro/github-app-handler/actions/workflows/pypi-publish.yml) +[![Documentation Status](https://readthedocs.org/projects/github-app-handler/badge/?version=latest)](https://github-app-handler.readthedocs.io/en/latest/?badge=latest)
[![Latest Version](https://img.shields.io/github/v/release/heitorpolidoro/github-app-handler?label=Latest%20Version)](https://github.com/heitorpolidoro/github-app-handler/releases/latest) ![GitHub Release Date](https://img.shields.io/github/release-date/heitorpolidoro/github-app-handler) -[![Documentation Status](https://readthedocs.org/projects/github-app-handler/badge/?version=latest)](https://github-app-handler.readthedocs.io/en/latest/?badge=latest)
![GitHub commits since latest release (by SemVer including pre-releases)](https://img.shields.io/github/commits-since/heitorpolidoro/github-app-handler/latest) ![GitHub last commit](https://img.shields.io/github/last-commit/heitorpolidoro/github-app-handler) diff --git a/docs/conf.py b/docs/conf.py index ead9638..fe78762 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -8,6 +8,13 @@ https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information """ +import os +import sys +from string import Template + +sys.path.insert(0, os.path.abspath("../")) +sys.path.insert(0, os.path.abspath("../githubapp")) + project = "Github App Handler" copyright = "2024, Heitor Polidoro" author = "Heitor Polidoro" @@ -18,28 +25,54 @@ extensions = [ "myst_parser", "sphinx.ext.autodoc", - "autodoc2", - # "sphinx.ext.intersphinx", - # "sphinx.ext.viewcode", - # "sphinxcontrib.bibtex", - # "sphinx_panels", - # "sphinxext.rediraffe", - # "sphinxcontrib.mermaid", - # "sphinxext.opengraph", + "sphinx.ext.autosummary", + "sphinx_copybutton", + "sphinx.ext.napoleon", ] -myst_enable_extensions = ["colon_fence"] +myst_enable_extensions = ["colon_fence", "fieldlist"] -# Autodoc2 Configuration -autodoc2_render_plugin = "myst" -autodoc2_packages = ["../githubapp"] -autodoc2_hidden_objects = ["inherited", "dunder", "private"] -autodoc2_sort_names = True +pygments_style = "sphinx" -templates_path = ["_templates"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] +# Whether to prepend module names to object names in `.. autoclass::` etc. +add_module_names = False # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = "sphinx_rtd_theme" html_static_path = ["_static"] +html_theme_options = { + "titles_only": True, +} + +napoleon_google_docstring = True +autodoc_member_order = "bysource" + + +def generate_class_doc(clazz): + template = """$className +================== + +.. currentmodule:: $module +.. autoclass:: $className + :show-inheritance: + :members: +""" + return Template(template).substitute( + className=clazz.__name__, module=clazz.__module__ + ) + + +def generate_module_docs(module, path=".", exclude=None): + exclude = exclude or [] + for clazz in vars(module).values(): + if isinstance(clazz, type) and clazz.__name__ not in exclude: + file_name = clazz.__module__.replace(f"{module.__package__}.", "") + ".rst" + + content = generate_class_doc(clazz) + with open(os.path.join(path, file_name), "w") as file: + file.write(content) + + +# generate_module_docs(loaders, "classes", exclude=["ConfigEnvVarLoader", "ConfigLoader"]) diff --git a/docs/index.md b/docs/index.md deleted file mode 100644 index 668aaee..0000000 --- a/docs/index.md +++ /dev/null @@ -1,29 +0,0 @@ -{include} ../README.md -# My nifty title - -Some **text**! - -:::{admonition} Here's my title -:class: tip - -Here's my admonition content.{sup}`1` -::: - -(header-label)= -# A header - -[My rehference](#header-label) - -### Content -```{toctree} -:maxdepth: 2 - -Home -apidocs/index -``` - -```{autodoc2-object} githubapp.events.event.Event -render_plugin = "myst" -no_index = true -``` - diff --git a/docs/index.rst b/docs/index.rst new file mode 100644 index 0000000..59a90c8 --- /dev/null +++ b/docs/index.rst @@ -0,0 +1,35 @@ +Github App Handler +================== + +Github App Handler it is a handler helper to create GitHub App easily + +# TODO complete the toc + +.. toctree:: + :hidden: + + Home + +Introduction +============ + +Github App Handler is a Python library that helps to create +[Github App](https://docs.github.com/en/apps/creating-github-apps). +It uses the [PyGithub](https://docs.github.com/en/apps/creating-github-apps) library to manage the Github resources + +Installation +============ +.. code:: shell + + pip install github-app-handler + + +Usage +============ + +# TODO + +.. code:: python + + ... + diff --git a/docs/requirements.txt b/docs/requirements.txt index a2b1c76..bcdb9ee 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,3 @@ -sphinx==7.3.7 -myst_parser==3.0.1 -sphinx-autodoc2==0.5.0 -github-app-handler==0.28.4 - -sphinx_rtd_theme==2.0.0 -readthedocs-sphinx-search==0.3.2 +myst_parser +sphinx_rtd_theme +sphinx-copybutton diff --git a/githubapp/__init__.py b/githubapp/__init__.py deleted file mode 100644 index c728609..0000000 --- a/githubapp/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -""" -This module initializes the githubapp module and sets the version number for the module. - -It is the entry point for the githubapp package and is responsible for initializing all -the necessary components and configurations. Any global settings for the package should be defined here. -""" - -from githubapp.config import Config -from githubapp.event_check_run import EventCheckRun - -__version__ = "0.28.4" - -__all__ = ["Config", "EventCheckRun"] diff --git a/githubapp/config.py b/githubapp/config.py deleted file mode 100644 index 01ea2e1..0000000 --- a/githubapp/config.py +++ /dev/null @@ -1,116 +0,0 @@ -""" -Config module - -This module handles loading configuration values from a YAML file -and provides access to those values via the ConfigValue class. -""" - -import os -from collections.abc import Callable -from functools import wraps -from typing import Any, TypeVar, Union - -import yaml -from github import GithubException, UnknownObjectException -from github.GithubObject import NotSet -from github.Repository import Repository - -AnyBasic = Union[int, float, bool, str, list, dict, tuple] -ConfigValueType = TypeVar("ConfigValueType", bound="ConfigValue") - - -class ConfigError(AttributeError): - """ - Exception raised for errors in the configuration. - - Attributes: - message - explanation of the error - """ - - -class ConfigValue: - """The configuration loaded from the config file""" - - def __init__(self, value: AnyBasic = None) -> None: - self._value = value - - def set_values(self, data: dict[str, AnyBasic]) -> None: - """Set the attributes from a data dict""" - for attr, value in data.items(): - if isinstance(value, dict): - config_value = getattr(self, attr, ConfigValue()) - config_value.set_values(value) - setattr(self, attr, config_value) - else: - setattr(self, attr, value) - - def create_config(self, name: str, *, default: AnyBasic = None, **values: AnyBasic) -> "ConfigValue": - """ - Create a configuration value and nested values. - - Args: - name (str): The name of the configuration value - default: The default value. If set, values cannot be provided - values (dict): Nested configuration values - - Returns: - ConfigValue: The created configuration value - """ - if default is not None and values: - raise ConfigError("You cannot set the default value AND default values for sub values") - default = default or ConfigValue() - if values: - default.set_values(values) - self.set_values({name: default}) - - return self - - def load_config_from_file(self, filename: str, repository: Repository) -> None: - """Load the config from a file""" - try: - raw_data = ( - yaml.safe_load(repository.get_contents(filename, ref=repository.default_branch).decoded_content) or {} - ) - self.set_values(raw_data) - except UnknownObjectException: - pass - except GithubException as ghe: - if ghe.data.get("message") != "This repository is empty.": - raise - - def __getattr__(self, item: str) -> Any: - if item.isupper(): - return os.getenv(item) - raise ConfigError(f"No such config value for {item}. And there is no default value for it") - - @staticmethod - def call_if( - config_name: str, value: AnyBasic = NotSet, return_on_not_call: AnyBasic = None - ) -> Callable[[Callable], Callable]: - """ - Decorator to configure a method to be called on if the config is true or is == value - - :param config_name: The configuration name - :param value: Tha value to compare to the config, default: bool value for the config value - :param return_on_not_call: Default value to return when the method is not called, default: None - """ - - def decorator(method: Callable) -> Callable: - """Decorator to call a method based on the configuration""" - - @wraps(method) - def wrapper(*args, **kwargs) -> Any: - """Call the method based on the configuration""" - config_value = Config - for name in config_name.split("."): - config_value = getattr(config_value, name) - if (value == NotSet and config_value) or config_value == value: - return method(*args, **kwargs) - return return_on_not_call - - return wrapper - - return decorator - - -Config = ConfigValue() diff --git a/githubapp/event_check_run.py b/githubapp/event_check_run.py deleted file mode 100644 index 1bb8c0a..0000000 --- a/githubapp/event_check_run.py +++ /dev/null @@ -1,293 +0,0 @@ -"""Class to represents an Event Check Run, a wrapper to Github CheckRun""" - -from enum import Enum -from typing import Any, Optional - -from github.CheckRun import CheckRun -from github.Repository import Repository - -from githubapp.config import Config - - -class CheckRunStatus(Enum): - """The CheckRun Status""" - - QUEUED = "queued" - IN_PROGRESS = "in_progress" - COMPLETED = "completed" - WAITING = "waiting" - REQUESTED = "requested" - PENDING = "pending" - - -class CheckRunConclusion(Enum): - """The CheckRun Conclusion""" - - FAILURE = "failure" - ACTION_REQUIRED = "action_required" - CANCELLED = "cancelled" - NEUTRAL = "neutral" - STALE = "stale" - TIMED_OUT = "timed_out" - SUCCESS = "success" - SKIPPED = "skipped" - - -ICONS_DEFAULT = { - "circle": { - CheckRunStatus.IN_PROGRESS: "orange_circle", - CheckRunConclusion.SUCCESS: "green_circle", - CheckRunConclusion.FAILURE: "red_circle", - CheckRunConclusion.SKIPPED: "black_circle", - }, -} - - -class EventCheckRun: - """ - EventCheckRun - - This class represents a check run for a GitHub repository commit. It allows starting, updating - and completing a check run. - - Attributes: - - repository: The GitHub Repository object - - name: The name of the check run - - sha: The commit SHA being checked - - check_run: The GitHub CheckRun object, populated after starting the run - - Methods: - - start: Starts a new check run - - update: Updates an in-progress check run - - complete: Completes a check run with a conclusion - """ - - icons = {} - - class SubRun: - """ - A "sub" check run. - - If creates a sub check runs, they will be shown as a list in parent check run summary - """ - - def __init__( - self, - parent_check_run: "EventCheckRun", - name: str, - status: CheckRunStatus = None, - summary: str = None, - ) -> None: - self.parent_check_run = parent_check_run - self.name = name - self.status = status - self.summary = summary - self.conclusion = None - self.title = "" - - def __repr__(self) -> str: # pragma: no cover - _dict = self.__dict__.copy() - _dict.pop("parent_check_run") - return f"SubRun({_dict})" - - def update( - self, - title: str = None, - status: CheckRunStatus = None, - summary: str = None, - conclusion: CheckRunConclusion = None, - update_check_run: bool = True, - ) -> None: - """Update a sub run""" - self.title = title or self.title - self.status = status or self.status - self.conclusion = conclusion or self.conclusion - if self.conclusion: - self.status = CheckRunStatus.COMPLETED - self.summary = summary or self.summary - if update_check_run: - self.parent_check_run.update_sub_runs(title=self.title) - - def __init__(self, repository: Repository, name: str, sha: str) -> None: - self.repository = repository - self.name = name - self.sha = sha - self._check_run: Optional[CheckRun] = None - self.sub_runs = [] - - def __repr__(self) -> str: # pragma:no cover - _dict = self.__dict__.copy() - _dict.pop("repository") - _dict.pop("_check_run") - _dict.pop("sub_runs") - return f"EventCheckRun({_dict})" - - def __getattr__(self, attr: str) -> Optional[str]: - if self._check_run: - if hasattr(self._check_run, attr): - result = getattr(self._check_run, attr) - elif hasattr(self._check_run.output, attr): - result = getattr(self._check_run.output, attr) - else: - raise AttributeError(f"'CheckRun' object has no attribute '{attr}'") - if attr == "status": - result = CheckRunStatus[result.upper()] - elif attr == "conclusion": - result = CheckRunConclusion[result.upper()] - return result - return None - - @classmethod - def set_icons(cls) -> None: - """ - Set the CheckRun icon set from SUB_RUNS_ICONS env. - :raises AttributeError: If the specified icon set is not found in the default configuration or if - the icon set is not a string or a dictionary. - """ - if icons_set := Config.SUB_RUNS_ICONS: - if isinstance(icons_set, str): - cls.icons = ICONS_DEFAULT.get(icons_set) - if cls.icons is None: - raise AttributeError( - f"There is no icon set '{icons_set} in default configuration. {ICONS_DEFAULT.keys()}" - ) - elif isinstance(icons_set, dict): - cls.icons = icons_set - else: - raise AttributeError( - f"Icons set must be a string or a dictionary. {type(icons_set)}" - ) - - def start( - self, - status: CheckRunStatus = CheckRunStatus.WAITING, - summary: str = None, - title: str = None, - text: str = None, - ) -> None: - """Start a check run""" - output = {"title": title or self.name, "summary": summary or ""} - if text: - output["text"] = text - - self._check_run = self.repository.create_check_run( - self.name, - self.sha, - status=status.value, - output=output, - ) - - def update_sub_runs(self, title: str = None) -> None: - """Update the sub runs""" - summary = self.build_summary(self.sub_runs) - self.update(title=title, summary=summary) - - @classmethod - def build_summary(cls, sub_runs: list[SubRun]) -> str: - """Build the summary of the sub runs""" - runs_summary = [] - for run in sub_runs: - if run_status_icon := cls.icons.get(run.conclusion or run.status, ""): - run_status_icon = f":{run_status_icon}: " - runs_summary.append(f"{run_status_icon}{run.name}: {run.title}") - if run.summary: - runs_summary.append(run.summary) - summary = "\n".join(runs_summary) - return summary - - def update( - self, - title: str = None, - status: CheckRunStatus = None, - summary: str = None, - conclusion: CheckRunConclusion = None, - text: str = None, - **output, - ) -> None: - """Updates the check run""" - - def clean_dict(d: dict[str, Any]) -> dict[str, Any]: - """Remove keys if no value""" - return {k: v for k, v in d.items() if v is not None} - - if conclusion is not None: - status = CheckRunStatus.COMPLETED - output.update( - { - "title": title or self._check_run.output.title, - "summary": summary or self._check_run.output.summary, - "text": text, - } - ) - - output = clean_dict(output) or None - args = { - "status": status.value if isinstance(status, Enum) else status, - "conclusion": conclusion.value - if isinstance(conclusion, Enum) - else conclusion, - "output": output, - } - if args := clean_dict(args): - self._check_run.edit(**args) - - def finish( - self, - title: str = None, - status: CheckRunStatus = None, - summary: str = None, - conclusion: CheckRunConclusion = None, - text: str = None, - **output, - ) -> None: - """Finish the Check Run""" - conclusions_list_order = {c: i for i, c in enumerate(CheckRunConclusion)} - sub_run_name = None - sub_run_title = None - for sub_run in self.sub_runs: - if not sub_run.conclusion: - sub_run.update( - conclusion=CheckRunConclusion.CANCELLED, update_check_run=False - ) - if ( - conclusion is None - or conclusions_list_order[sub_run.conclusion] - < conclusions_list_order[conclusion] - ): - conclusion = sub_run.conclusion - sub_run_name = None - sub_run_title = None - if sub_run_name is None and conclusion == sub_run.conclusion: - sub_run_name = sub_run.name - sub_run_title = sub_run.title - - if conclusion is None: - conclusion = CheckRunConclusion.STALE - title = self.name - if conclusion == CheckRunConclusion.SUCCESS: - title = "Done" - elif conclusion == CheckRunConclusion.SKIPPED: - title = "Skipped" - elif title is None and sub_run_title: - title = sub_run_title - elif title is None and sub_run_name: - title = f"{sub_run_name}: {conclusion.value.title()}" - else: - title = conclusion.value.title() - - summary = self.build_summary(self.sub_runs) or summary - - self.update( - conclusion=conclusion, - title=title, - summary=summary, - text=text, - status=status, - **output, - ) - - def create_sub_run(self, name: str) -> SubRun: - """Create a sub run""" - sub_run = self.SubRun(self, name, status=CheckRunStatus.WAITING) - self.sub_runs.append(sub_run) - return sub_run diff --git a/githubapp/events/__init__.py b/githubapp/events/__init__.py deleted file mode 100644 index 36e2f9e..0000000 --- a/githubapp/events/__init__.py +++ /dev/null @@ -1,63 +0,0 @@ -"""Event Classes - -This module contains imports for all the different event classes used to represent webhook payloads from GitHub. -Each event type, like a push, issue comment, or check run has a corresponding -class instantiated with the event payload data. - -The classes make it easy to access relevant data from the payload and provide a -common interface for handling different event types in the application code. -""" - -from .check_run import CheckRunCompletedEvent, CheckRunEvent -from .check_suite import ( - CheckSuiteCompletedEvent, - CheckSuiteEvent, - CheckSuiteRequestedEvent, - CheckSuiteRerequestedEvent, -) -from .create import CreateBranchEvent, CreateEvent, CreateTagEvent -from .issue_comment import ( - IssueCommentCreatedEvent, - IssueCommentDeletedEvent, - IssueCommentEditedEvent, - IssueCommentEvent, -) -from .issues import IssueClosedEvent, IssueEditedEvent, IssueOpenedEvent, IssuesEvent -from .pull_request_review import ( - PullRequestReviewDismissedEvent, - PullRequestReviewEditedEvent, - PullRequestReviewEvent, - PullRequestReviewSubmittedEvent, -) -from .push import PushEvent -from .release import ReleaseCreatedEvent, ReleaseEvent, ReleaseReleasedEvent -from .status import StatusEvent - -__all__ = [ - "CheckRunEvent", - "CheckRunCompletedEvent", - "CheckSuiteEvent", - "CheckSuiteRequestedEvent", - "CheckSuiteCompletedEvent", - "CheckSuiteRerequestedEvent", - "CreateEvent", - "CreateBranchEvent", - "CreateTagEvent", - "IssueCommentEvent", - "IssueCommentCreatedEvent", - "IssueCommentEditedEvent", - "IssueCommentDeletedEvent", - "IssuesEvent", - "IssueOpenedEvent", - "IssueEditedEvent", - "IssueClosedEvent", - "PullRequestReviewEvent", - "PullRequestReviewSubmittedEvent", - "PullRequestReviewEditedEvent", - "PullRequestReviewDismissedEvent", - "PushEvent", - "ReleaseEvent", - "ReleaseReleasedEvent", - "ReleaseCreatedEvent", - "StatusEvent", -] diff --git a/githubapp/events/check_run.py b/githubapp/events/check_run.py deleted file mode 100644 index 4fa83c5..0000000 --- a/githubapp/events/check_run.py +++ /dev/null @@ -1,28 +0,0 @@ -""" -Module for handling GitHub check_run webhook events. -https://docs.github.com/en/webhooks/webhook-events-and-payloads#check_run -""" - -from github.CheckRun import CheckRun - -from githubapp.events.event import Event - - -class CheckRunEvent(Event): - """This class represents a check run event.""" - - event_identifier = {"event": "check_run"} - - def __init__( - self, - check_run: dict[str, str], - **kwargs, - ): - super().__init__(**kwargs) - self.check_run = self._parse_object(CheckRun, check_run) - - -class CheckRunCompletedEvent(CheckRunEvent): - """This class represents a check run completed event.""" - - event_identifier = {"action": "completed"} diff --git a/githubapp/events/check_suite.py b/githubapp/events/check_suite.py deleted file mode 100644 index 6f6fc2b..0000000 --- a/githubapp/events/check_suite.py +++ /dev/null @@ -1,40 +0,0 @@ -""" -Module for handling GitHub check_suite webhook events. -https://docs.github.com/en/webhooks/webhook-events-and-payloads#check_suite -""" - -from github.CheckSuite import CheckSuite - -from githubapp.events.event import Event - - -class CheckSuiteEvent(Event): - """This class represents an check suite event.""" - - event_identifier = {"event": "check_suite"} - - def __init__( - self, - check_suite: dict[str, str], - **kwargs, - ) -> None: - super().__init__(**kwargs) - self.check_suite = self._parse_object(CheckSuite, check_suite) - - -class CheckSuiteRequestedEvent(CheckSuiteEvent): - """This class represents an check suite requested event.""" - - event_identifier = {"action": "requested"} - - -class CheckSuiteCompletedEvent(CheckSuiteEvent): - """This class represents an check suite completed event.""" - - event_identifier = {"action": "completed"} - - -class CheckSuiteRerequestedEvent(CheckSuiteEvent): - """This class represents an check suite rerequested event.""" - - event_identifier = {"action": "rerequested"} diff --git a/githubapp/events/create.py b/githubapp/events/create.py deleted file mode 100644 index 21b717c..0000000 --- a/githubapp/events/create.py +++ /dev/null @@ -1,37 +0,0 @@ -"""Class to represents the Github Create events""" - -from githubapp.events.event import Event - - -class CreateEvent(Event): - """This class represents a branch or tag creation event.""" - - event_identifier = {"event": "create"} - - def __init__( - self, - description: str, - master_branch: str, - pusher_type: str, - ref: str, - ref_type: str, - **kwargs, - ): - super().__init__(**kwargs) - self.description = description - self.master_branch = master_branch - self.pusher_type = pusher_type - self.ref = ref - self.ref_type = ref_type - - -class CreateBranchEvent(CreateEvent): - """This class represents a branch creation event.""" - - event_identifier = {"ref_type": "branch"} - - -class CreateTagEvent(CreateEvent): - """This class represents a tag creation event.""" - - event_identifier = {"ref_type": "tag"} diff --git a/githubapp/events/event.py b/githubapp/events/event.py deleted file mode 100644 index bd3b4fd..0000000 --- a/githubapp/events/event.py +++ /dev/null @@ -1,138 +0,0 @@ -"""Parent class to represents the Github events""" - -import re -from typing import Any, Optional, TypeVar - -from github.NamedUser import NamedUser -from github.Repository import Repository - -from githubapp import EventCheckRun -from githubapp.event_check_run import CheckRunStatus - -T = TypeVar("T") - - -class Event: - """Event base class - - This class represents a generic GitHub webhook event. - It provides common - attributes and methods for parsing event data from the request headers and body. - """ - - delivery = None - github_event = None - hook_id = None - hook_installation_target_id = None - hook_installation_target_type = None - installation_id = None - event_identifier = None - - _raw_body = None - _raw_headers = None - - # - def __init__(self, *, gh, requester, headers, sender, repository=None, **kwargs): - Event.delivery = headers["X-Github-Delivery"] - Event.github_event = headers["X-Github-Event"] - Event.hook_id = int(headers["X-Github-Hook-Id"]) - Event.hook_installation_target_id = int(headers["X-Github-Hook-Installation-Target-Id"]) - Event.hook_installation_target_type = headers["X-Github-Hook-Installation-Target-Type"] - if installation_id := kwargs.get("installation", {}).get("id"): - installation_id = int(installation_id) - Event.installation_id = installation_id - Event._raw_headers = headers - Event._raw_body = kwargs - self.gh = gh - self.requester = requester - self.repository = self._parse_object(Repository, repository) - self.sender = self._parse_object(NamedUser, sender) - self.check_runs: list[EventCheckRun] = [] - - @staticmethod - def normalize_dicts(*dicts) -> dict[str, str]: - """Normalize the event data to a common format - - Args: - *dicts: A list of dicts containing the event data - - Returns: - dict: A dict containing the normalized event data - """ - union_dict = {} - for d in dicts: - for attr, value in d.items(): - attr = attr.lower() - attr = attr.replace("x-github-", "") - attr = re.sub(r"[- ]", "_", attr) - union_dict[attr] = value - - return union_dict - - @classmethod - def get_event(cls, headers, body) -> type["Event"]: - """Get the event class based on the event type - - Args: - headers (dict): The request headers - body (dict): The request body - - Returns: - Event: The event class - """ - event_class = cls - union_dict = Event.normalize_dicts(headers, body) - - for event in cls.__subclasses__(): - if event.match(union_dict): - return event.get_event(headers, body) - return event_class - - @classmethod - def match(cls, data): - """Check if the event matches the event_identifier - - Args: - data: A dict containing all the event data - - Returns: - bool: True if the event matches the event_identifier, False otherwise - """ - return all((attr in data and value == data[attr]) for attr, value in cls.event_identifier.items()) - - @staticmethod - def fix_attributes(attributes): - """Fix the url value""" - if attributes.get("url", "").startswith("https://github"): - attributes["url"] = ( - attributes["url"] - .replace("https://github.com", "https://api.github.com/repos") - .replace("/commit/", "/commits/") - ) - - def _parse_object(self, clazz: type[T], value: Any) -> Optional[T]: - """Return the PyGithub object""" - if value is None: - return None - self.fix_attributes(value) - return clazz( - requester=self.requester, - headers={}, - attributes=value, - completed=False, - ) - - def start_check_run( - self, - name: str, - sha: str, - title: Optional[str] = None, - summary: Optional[str] = None, - text: Optional[str] = None, - status: CheckRunStatus = CheckRunStatus.WAITING, - ): - """Start a check run""" - event_check_run = EventCheckRun(self.repository, name, sha) - event_check_run.start(title=title, summary=summary, text=text, status=status) - self.check_runs.append(event_check_run) - return event_check_run diff --git a/githubapp/events/issue_comment.py b/githubapp/events/issue_comment.py deleted file mode 100644 index 9518e40..0000000 --- a/githubapp/events/issue_comment.py +++ /dev/null @@ -1,39 +0,0 @@ -"""Class to represents the Github Issue Comment events""" - -from github.Issue import Issue -from github.IssueComment import IssueComment - -from githubapp.events.event import Event - - -class IssueCommentEvent(Event): - """This class represents a generic issue comment event.""" - - event_identifier = {"event": "issue_comment"} - - def __init__(self, issue: dict[str, str], issue_comment: dict[str, str], **kwargs): - super().__init__(**kwargs) - self.issue = self._parse_object(Issue, issue) - self.issue_comment = self._parse_object(IssueComment, issue_comment) - - -class IssueCommentCreatedEvent(IssueCommentEvent): - """This class represents an event when a comment in an Issue is created.""" - - event_identifier = {"action": "created"} - - -class IssueCommentEditedEvent(IssueCommentEvent): - """This class represents an event when a comment in an Issue is edited.""" - - event_identifier = {"action": "edited"} - - def __init__(self, changes: dict[str, str], **kwargs): - super().__init__(**kwargs) - self.changes = changes - - -class IssueCommentDeletedEvent(IssueCommentEvent): - """This class represents an event when a comment in an Issue is deleted.""" - - event_identifier = {"action": "deleted"} diff --git a/githubapp/events/issues.py b/githubapp/events/issues.py deleted file mode 100644 index 33d1abe..0000000 --- a/githubapp/events/issues.py +++ /dev/null @@ -1,61 +0,0 @@ -"""Class to represents the Github Issues events""" - -from github.Issue import Issue -from github.Repository import Repository - -from githubapp.events.event import Event - - -class IssuesEvent(Event): - """This class represents an issue event.""" - - event_identifier = {"event": "issues"} - - def __init__( - self, - issue: dict[str, str], - **kwargs, - ): - super().__init__(**kwargs) - self.issue = self._parse_object(Issue, issue) - - -class IssueOpenedEvent(IssuesEvent): - """This class represents an issue opened event.""" - - event_identifier = {"action": "opened"} - - def __init__( - self, - changes: dict[str, str] = None, - **kwargs, - ): - super().__init__(**kwargs) - self.old_issue = ( - self._parse_object(Issue, changes.get("old_issue")) if changes else None - ) - self.old_repository = ( - self._parse_object(Repository, changes.get("old_repository")) - if changes - else None - ) - - -class IssueEditedEvent(IssuesEvent): - """This class represents an issue edited event.""" - - event_identifier = {"action": "edited"} - - def __init__( - self, - changes: dict[str, str], - **kwargs, - ): - super().__init__(**kwargs) - self.changes = changes - - -class IssueClosedEvent(IssuesEvent): - """This class represents an issue closed event.""" - - event_identifier = {"action": "closed"} diff --git a/githubapp/events/pull_request_review.py b/githubapp/events/pull_request_review.py deleted file mode 100644 index 263804f..0000000 --- a/githubapp/events/pull_request_review.py +++ /dev/null @@ -1,44 +0,0 @@ -"""Class to represents the Github Pull Request Review events""" - -from github.PullRequest import PullRequest -from github.PullRequestReview import PullRequestReview - -from githubapp.events.event import Event - - -class PullRequestReviewEvent(Event): - """This class represents a pull request review event.""" - - event_identifier = {"event": "pull_request_review"} - - def __init__( - self, - pull_request: dict[str, str], - review: dict[str, str], - **kwargs, - ): - super().__init__(**kwargs) - self.pull_request = self._parse_object(PullRequest, pull_request) - self.review = self._parse_object(PullRequestReview, review) - - -class PullRequestReviewSubmittedEvent(PullRequestReviewEvent): - """This class represents a pull request review submitted event.""" - - event_identifier = {"action": "submitted"} - - -class PullRequestReviewEditedEvent(PullRequestReviewEvent): - """This class represents a pull request review edited event.""" - - event_identifier = {"action": "edited"} - - def __init__(self, changes: dict[str, str], **kwargs): - super().__init__(**kwargs) - self.changes = changes - - -class PullRequestReviewDismissedEvent(PullRequestReviewEvent): - """This class represents a pull request review dismissed event.""" - - event_identifier = {"action": "dismissed"} diff --git a/githubapp/events/push.py b/githubapp/events/push.py deleted file mode 100644 index 144139d..0000000 --- a/githubapp/events/push.py +++ /dev/null @@ -1,42 +0,0 @@ -"""Class to represents the Github Push events""" - -from typing import Optional - -from github.GitCommit import GitCommit -from github.NamedUser import NamedUser - -from githubapp.events.event import Event - - -class PushEvent(Event): - """This class represents a push event.""" - - event_identifier = {"event": "push"} - - def __init__( - self, - after: str, - base_ref: Optional[str], - before: str, - commits: list[dict], - compare: str, - created: bool, - deleted: bool, - forced: bool, - head_commit: dict[str, str], - pusher: dict[str, str], - ref: str, - **kwargs, - ): - super().__init__(**kwargs) - self.after: str = after - self.base_ref: Optional[str] = base_ref - self.before: str = before - self.commits = [self._parse_object(GitCommit, commit) for commit in commits] - self.compare: str = compare - self.created: bool = bool(created) - self.deleted: bool = bool(deleted) - self.forced: bool = bool(forced) - self.head_commit = self._parse_object(GitCommit, head_commit) - self.pusher = self._parse_object(NamedUser, pusher) - self.ref: str = ref diff --git a/githubapp/events/release.py b/githubapp/events/release.py deleted file mode 100644 index 6b319ba..0000000 --- a/githubapp/events/release.py +++ /dev/null @@ -1,27 +0,0 @@ -"""Class to represents the Github Release events""" - -from github.GitRelease import GitRelease - -from githubapp.events.event import Event - - -class ReleaseEvent(Event): - """This class represents a generic release event.""" - - event_identifier = {"event": "release"} - - def __init__(self, release: dict[str, str], **kwargs): - super().__init__(**kwargs) - self.release = self._parse_object(GitRelease, release) - - -class ReleaseCreatedEvent(ReleaseEvent): - """This class represents an event when a release is created.""" - - event_identifier = {"action": "created"} - - -class ReleaseReleasedEvent(ReleaseEvent): - """This class represents an event when a release is released.""" - - event_identifier = {"action": "released"} diff --git a/githubapp/events/status.py b/githubapp/events/status.py deleted file mode 100644 index 761103f..0000000 --- a/githubapp/events/status.py +++ /dev/null @@ -1,67 +0,0 @@ -"""Class to represents the Github Status events""" - -from typing import Optional - -from github.Branch import Branch -from github.Commit import Commit - -from githubapp.events.event import Event - - -class StatusEvent(Event): - """This class represents a status report.""" - - event_identifier = {"event": "status"} - - def __init__( - self, - branches: list[dict], - commit: dict[str, str], - context: str, - created_at: str, - description: Optional[str], - id: int, - name: str, - sha: str, - state: str, - target_url: Optional[str], - updated_at: str, - **kwargs, - ): - """ - Initialize a new instance of the class. - - Args: - headers: The headers for the instance. - branches: The list of branches. - commit: The Git commit instance. - context: The context of the instance. - created_at: The creation date of the instance. - description: The description of the instance. - id: The ID of the instance. - name: The name of the instance. - repository: The repository instance. - sender: The sender of the instance. - sha: The SHA of the instance. - state: The state of the instance. - target_url: The target URL of the instance. - updated_at: The update date of the instance. - **kwargs: Additional keyword arguments. - - Raises: - Any exceptions that may occur during initialization. - - """ - super().__init__(**kwargs) - self.branches = [self._parse_object(Branch, branch) for branch in branches] - self.commit = self._parse_object(Commit, commit) - self.context: str = context - self.created_at: str = created_at - self.description: Optional[str] = description - self.id: int = id - self.name: str = name - - self.sha: str = sha - self.state: str = state - self.target_url: Optional[str] = target_url - self.updated_at: str = updated_at diff --git a/githubapp/exceptions.py b/githubapp/exceptions.py deleted file mode 100644 index d3c863d..0000000 --- a/githubapp/exceptions.py +++ /dev/null @@ -1,5 +0,0 @@ -"""Github App Exceptions""" - - -class GithubAppRuntimeException(Exception): - """An exception that will not be reraised at the end of the webhook_handler.handle call""" diff --git a/githubapp/test_helper/__init__.py b/githubapp/test_helper/__init__.py deleted file mode 100644 index 2b743fa..0000000 --- a/githubapp/test_helper/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -"""Module to help apps to create testing emulating webhooks events""" - -from githubapp.test_helper.test_case import TestCase - -__all__ = ["TestCase"] diff --git a/githubapp/test_helper/defaults.json b/githubapp/test_helper/defaults.json deleted file mode 100644 index bfee38b..0000000 --- a/githubapp/test_helper/defaults.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "check_suite": { - "id": 12345678901, - "node_id": "CS_kwDORjruc5Zts1V/7oiBZY", - "head_branch": "default_branch", - "head_sha": "5efa39e33a29e335d8f4b96e0c7cd999bf5a5b5b", - "status": "queued", - "conclusion": null, - "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-suites/12345678901", - "before": "fd6c0cf2a48d6d97c9d4d629681da2f4fa7930eb", - "after": "accc1cecebbbe1b52dbef499cfdcd00e8ee3f99d", - "pull_requests": [ - - ], - "app": { - "slug": "bartholomew-smith", - "owner": {}, - "name": "Bartholomew Smith", - "description": "", - "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", - "html_url": "https://github.com/apps/bartholomew-smith" - }, - "created_at": "2024-05-20T21:11:58Z", - "updated_at": "2024-05-20T21:11:58Z", - "rerequestable": true, - "runs_rerequestable": true, - "latest_check_runs_count": 0, - "check_runs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-suites/12345678901/check-runs", - "head_commit": { - "id": "5efa39e33a29e335d8f4b96e0c7cd999bf5a5b5b", - "tree_id": "a6f236a70b14057db0daa3f6ab81b21bb8ec7ce9", - "message": "docs(PullRequestManager): Update docs", - "timestamp": "2024-05-20T21:11:50Z", - "author": { - "name": "Heitor Polidoro", - "email": "heitor.polidoro@gmail.com" - }, - "committer": { - "name": "Heitor Polidoro", - "email": "heitor.polidoro@gmail.com" - } - } - }, - "repository": { - "id": 123456789, - "node_id": "R_kgIKLO2AQA", - "name": "bartholomew-smith", - "full_name": "heitorpolidoro/bartholomew-smith", - "private": false, - "owner": {}, - "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", - "description": "Your butler for managing your GitHub repositories", - "fork": false, - "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", - "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", - "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", - "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", - "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", - "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", - "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", - "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", - "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", - "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", - "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", - "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", - "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", - "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", - "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", - "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", - "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", - "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", - "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", - "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", - "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", - "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", - "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", - "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", - "created_at": "2024-01-09T21:27:32Z", - "updated_at": "2024-05-20T14:28:30Z", - "pushed_at": "2024-05-20T21:11:57Z", - "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", - "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", - "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", - "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", - "homepage": "https://bartholomew-smith.vercel.app", - "size": 658, - "stargazers_count": 1, - "watchers_count": 1, - "language": "Python", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "has_discussions": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 72, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "allow_forking": true, - "is_template": false, - "web_commit_signoff_required": false, - "topics": [ - "github", - "githubapp", - "pull-request" - ], - "visibility": "public", - "forks": 0, - "open_issues": 72, - "watchers": 1, - "default_branch": "default_branch" - }, - "user": { - "login": "heitorpolidoro", - "url": "https://api.github.com/users/heitorpolidoro", - "html_url": "https://github.com/heitorpolidoro", - "followers_url": "https://api.github.com/users/heitorpolidoro/followers", - "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", - "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", - "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", - "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", - "repos_url": "https://api.github.com/users/heitorpolidoro/repos", - "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", - "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 12345678, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTIzNDU2Nzg=" - } -} diff --git a/githubapp/test_helper/spy.py b/githubapp/test_helper/spy.py deleted file mode 100644 index 5e81f08..0000000 --- a/githubapp/test_helper/spy.py +++ /dev/null @@ -1,60 +0,0 @@ -"""Module to create a spy""" - -from contextlib import contextmanager -from typing import Any -from unittest.mock import MagicMock, patch - - -@contextmanager -def spy(clazz: type) -> patch: - """ - Spy Method - - :param clazz: The class to be spied on. - :return: spied class - - This method spies on a given class by replacing the `__init__` method of the class with a spy implementation. - This allows us to intercept and mock method calls made on the class instance. - - The spy implementation (`spy_init`) is defined within the `spy` method. - It wraps around the original `__init__` method of the class and replaces all the callable attributes of the - class instance with a `MagicMock` object that mimics the original method's behavior. - This enables us to track and validate method calls. - - Note that built-in methods (those starting and ending with double underscores) are - skipped and not replaced with a spy. - - Example usage: - - ```python - class MyClass: - def __init__(self, value): - self.value = value - - def perform_action(self): - print("Performing action") - - # Spying on the MyClass - spy(MyClass) - - # Creating an instance of MyClass - obj = MyClass(10) - - # Now the method calls on obj will be tracked and mocked - obj.perform_action() # This will be intercepted and tracked, but not executed - ``` - """ - original_init = clazz.__init__ - - def spy_init(self: Any, *args, **kwargs) -> None: - """Replaces the original `__init__` to replaces all the callable attributes with a MagicMock""" - original_init(self, *args, **kwargs) - for name in dir(self): - # skipping builtin methods - if name.startswith("__") and name.endswith("__"): - continue - if callable(method := getattr(self, name)): - setattr(self, name, MagicMock(side_effect=method)) - - with patch.object(clazz, "__init__", spy_init): - yield diff --git a/githubapp/test_helper/test_case.py b/githubapp/test_helper/test_case.py deleted file mode 100644 index 678d5a4..0000000 --- a/githubapp/test_helper/test_case.py +++ /dev/null @@ -1,315 +0,0 @@ -"""Class to help apps to create testing emulating webhooks events""" - -import inspect -import json -import os -from collections import defaultdict -from itertools import zip_longest -from typing import Any, Optional, TypeVar -from unittest import TestCase as UnittestTestCase -from unittest.mock import Mock, call, patch - -from github import GithubException -from github.CheckRun import CheckRun -from github.Repository import Repository - -from githubapp import EventCheckRun -from githubapp.event_check_run import CheckRunConclusion, CheckRunStatus -from githubapp.events.event import Event -from githubapp.test_helper.spy import spy - -T = TypeVar("T") - - -def recursive_update(main_dict: dict[str, Any], updates: dict[str, Any]) -> None: - """ - Recursively updates the main_dict with the given updates. - - :param main_dict: The dictionary to be updated. - :param updates: The dictionary with the updates to be applied. - :return: None. - """ - for key, value in updates.items(): - if isinstance(value, dict): - # get node or create one - node = main_dict.setdefault(key, {}) - recursive_update(node, value) - else: - main_dict[key] = value - - -def get_config(*_args, **_kwargs) -> Mock: - """Mock the reading of the config file""" - return Mock(decoded_content="") - - -def edit(self: CheckRun, **attributes) -> None: - """Edit the object's attributes using the provided attributes.""" - attributes.setdefault("output", {}) - for k, v in self.output.raw_data.items(): - attributes["output"].setdefault(k, v) - self._useAttributes(attributes) - - -class TestCase(UnittestTestCase): - """Class to help apps to create testing emulating webhooks events""" - - def __init__(self, *args, **kwargs) -> None: - super().__init__(*args, **kwargs) - self.client = None - self.event = None - defaults_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), "defaults.json") - self.defaults = self.get_info_from_file(defaults_file) - self._check_runs = defaultdict(dict) - self._sub_run_call_index = 0 - - def get_filename(self) -> Optional[str]: - """Returns the filename for the test.""" - # Get the module object - module = __import__(self.__class__.__module__) - if hasattr(module, "__file__"): - test_dir = os.path.dirname(os.path.abspath(module.__file__)) - class_name = self.__class__.__name__ - method_name = self._testMethodName - return os.path.join(test_dir, f"{class_name}.{method_name}.json") - return None - - def get_info_from_file(self, filename: str = None) -> dict[str, Any]: - """Retrieve information from a json file.""" - filename = filename or self.get_filename() - if os.path.exists(filename): - with open(filename, "r") as stream: - data = json.load(stream) - return data - return {} - - @staticmethod - def create_github_exception(message: str, status: int = 500) -> GithubException: - """ - Simple way to create a GithubException for tests - - return a GithubException(STATUS, data={"errors": [{"message": MESSAGE}]}) - """ - return GithubException(status, data={"errors": [{"message": message}]}) - - @staticmethod - def sub_run_call(name: str, title: str, summary: str = "") -> call: - final_summary = f"{name}: {title}" - if summary: - final_summary += f"\n{summary}" - - return call(title=title, summary=final_summary) - - def create_sub_runs(self, check_run_name: str, *sub_run_names: str) -> None: - """Create sub runs for a given check run.""" - sub_runs = self._check_runs[check_run_name] - for sub_run_name in sub_run_names: - sub_runs[sub_run_name] = EventCheckRun.SubRun(Mock(spec=EventCheckRun), sub_run_name) - - def assert_sub_run_call(self, check_run_name: str, sub_run_name: str, **params) -> None: - check_run = self.get_check_run(check_run_name) - sub_runs = self._check_runs[check_run_name] - if sub_run_name not in sub_runs: - sub_runs[sub_run_name] = EventCheckRun.SubRun(Mock(spec=EventCheckRun), sub_run_name) - - sub_run = sub_runs[sub_run_name] - for k, v in params.items(): - setattr(sub_run, k, v) - - final_summary = EventCheckRun.build_summary(sub_runs.values()) - params.pop("summary", None) - - sub_run_call = call(summary=final_summary, **params) - - try: - assert check_run.update.mock_calls[self._sub_run_call_index] == sub_run_call - except IndexError: - raise AssertionError("Missing call", sub_run_call) - self._sub_run_call_index += 1 - - def assert_no_check_run(self, name: str) -> None: - """ - Asserts that no check run exists with the given name. - :raise AssertionError: If there are a check runs with given name - """ - check_runs = self.event.check_runs - check_run = next(iter(filter(lambda cr: cr.name == name, check_runs)), None) - assert ( - not check_runs or not check_run - ), f"There is a Check Run with the name {name}. {[cr.name for cr in check_runs]}" - - def assert_check_run_start(self, name: str, **kwargs) -> None: - """Asserts that a check run with the given name has been started.""" - check_run = self.get_check_run(name) - kwargs.setdefault("summary", None) - kwargs.setdefault("text", None) - kwargs.setdefault("status", CheckRunStatus.IN_PROGRESS) - check_run.start.assert_called_once_with(**kwargs) - - def assert_check_run_progression(self, name: str, calls: list[call]) -> None: - """ - Asserts the progression of check runs for a given name and list of calls. - - :param name: The name of the check run. - :param calls: The list of calls to be made to the check run. - :return: None - :raise AssertionError: If there are no check runs, or if there is no check run with the given name, - or if there are missing calls. - """ - - def set_defaults(call_: call) -> None: - """Set default values for the summary and text attributes of the call.""" - for attr in ["summary", "text"]: - call_.kwargs.setdefault(attr, None) - - check_run = self.get_check_run(name) - start, *updates = calls - set_defaults(start) - check_run.start.assert_called_once_with(*start.args, **start.kwargs) - mock_calls = check_run.update.mock_calls - for actual_call, expected_call in zip_longest(mock_calls, updates): - assert expected_call is not None, "Missing call(s): " + "\n".join( - str(c) for c in mock_calls[len(updates) :] - ) - assert actual_call is not None, "Unexpected call(s): " + "\n".join( - str(c) for c in updates[len(mock_calls) :] - ) - assert actual_call == expected_call - - def get_check_run(self, name: str) -> EventCheckRun: - """Get a Check Run by its name.""" - check_runs = self.event.check_runs - assert check_runs, "There is no Check Runs" - check_run = next(iter(filter(lambda cr: cr.name == name, check_runs)), None) - assert check_run, f"There is no Check Run with the name {name}. {[cr.name for cr in check_runs]}" - return check_run - - def assert_check_run_final_state( - self, - name: str, - title: str = None, - summary: str = None, - status: CheckRunStatus = None, - conclusion: CheckRunConclusion = None, - ) -> None: - """ - Asserts that the final state of a check run matches the given parameters. - - :param name: The name of the check run to check. - :param title: (optional) The expected title of the check run output. - :param summary: (optional) The expected summary of the check run output. - :param status: (optional) The expected status of the check run. - :param conclusion: (optional) The expected conclusion of the check run. - :return: None - """ - check_run = self.get_check_run(name) - github_check_run = check_run._check_run - if title: - assert github_check_run.output.title == title - if summary: - assert github_check_run.output.summary == summary - if status: - assert github_check_run.status == status.value - if conclusion: - assert github_check_run.conclusion == conclusion.value - - def deliver(self, event_type: type[Event], **params) -> Optional[Event]: - """ - This method delivers an event of the specified type with the given parameters. - It creates an event instance, updates the parameters, and then posts the event to the client. - - The `event_type` parameter defines the type of event to deliver. It should be a subclass of `Event`. - - The `params` parameter is a dictionary containing additional parameters to include in the event. - If a parameter is not present in `params`, the default value will be used. - - The method uses a patch context to mock certain dependencies and headers for testing purposes. - If the response status code is not a successful 2XX code, an AssertionError is - raised with information about the error. - """ - - def update_params(method: type[Event]) -> None: - """ - This method updates the params dictionary with default values for any missing parameters based on - the signature of the given method. It also performs attribute name conversions as specified in - the attribute_name_conversions dictionary. The updated params dictionary is modified in place. - """ - attribute_name_conversions = { - "sender": "user", - } - for p in inspect.signature(method).parameters: - if p not in {"gh", "requester", "headers", "kwargs"}: - value = self.defaults[attribute_name_conversions.get(p, p)] - recursive_update(value, params.get(p, {})) - if value.get("owner") == {}: - value["owner"] = self.defaults["user"] - params[p] = value - - original_event_init = Event.__init__ - - def event_init_mock(event_instance: Event, *args, **kwargs) -> None: - """Just to retrieve the created Event""" - original_event_init(event_instance, *args, **kwargs) - self.event = event_instance - - def define_event_identifier(event_type_: type[Event]) -> dict[str, str]: - """Define the event_identifier for the given event type.""" - event_identifier_ = {} - if event_type_.event_identifier: - event_identifier_ = define_event_identifier(event_type_.__base__) - event_identifier_.update(event_type_.event_identifier) - update_params(event_type_) - return event_identifier_ - - event_identifier = define_event_identifier(event_type) - - def create_check_run(_, name: str, sha: str, **attributes) -> Mock: - """Creates a check run object with the given attributes.""" - attributes["name"] = name - attributes["sha"] = sha - attributes["url"] = "url" - mock = self.event._parse_object(CheckRun, attributes) - return mock - - with ( - patch("githubapp.webhook_handler._get_auth"), - patch("githubapp.webhook_handler.Github"), - # To avoid making requests - patch("githubapp.webhook_handler.Requester") as requester_mock, - # To return the event to test method - patch.object(Event, "__init__", event_init_mock), - # To mock the config file reading - patch.object(Repository, "get_contents", get_config), - spy(EventCheckRun), - # To mock the CheckRun - patch.object(Repository, "create_check_run", create_check_run), - # Tu update the mocked CheckRun - patch.object(CheckRun, "edit", edit), - ): - requester_mock().requestJsonAndCheck.return_value = ({}, {}) - headers = { - "X-Github-Delivery": "19f5cfbe-bc72-48b3-8501-aab458511586", - "X-GitHub-Event": event_identifier.pop("event"), - "X-Github-Hook-Id": 111, - "X-Github-Hook-Installation-Target-Id": 222, - "X-Github-Hook-Installation-Target-Type": "integration", - } - body = { - "installation": {"id": 123}, - } - body.update(event_identifier) - body.update(self.get_info_from_file()) - body.update(params) - response = self.client.post( - json=body, - headers=headers, - ) - if response.status_code // 100 != 2: - error = response.json["error"] - exception_info = error["exception_info"] - raise AssertionError( - f"The response status code is {response.status_code} not 2XX\n" - f"{exception_info['type']}({error['message']}) in {exception_info['func']} at " - f"{exception_info['filename']}:{exception_info['lineno']}" - ) - return self.event diff --git a/githubapp/webhook_handler.py b/githubapp/webhook_handler.py deleted file mode 100644 index cb2f6c2..0000000 --- a/githubapp/webhook_handler.py +++ /dev/null @@ -1,288 +0,0 @@ -"""Module to helps handle the Github webhooks events""" - -import inspect -import os -import sys -import traceback -from collections import defaultdict -from collections.abc import Callable -from functools import wraps -from importlib.metadata import version as get_version -from typing import Any, Optional - -from github import Consts, Github, GithubIntegration, GithubRetry -from github.AccessToken import AccessToken -from github.Auth import AppAuth, AppUserAuth, Auth, Token -from github.Requester import Requester - -from githubapp import Config -from githubapp.event_check_run import CheckRunConclusion, CheckRunStatus -from githubapp.events.event import Event -from githubapp.exceptions import GithubAppRuntimeException - - -class SignatureError(Exception): - """Exception when the method has a wrong signature""" - - def __init__(self, method: Callable[[Any], Any], signature: str) -> None: - """ - Args: - method (Callable): The method to be validated. - signature (str): The signature of the method. - """ - self.message = ( - f"Method {method.__qualname__}({signature}) signature error. " - f"The method must accept only one argument of the Event type" - ) - - -handlers = defaultdict(list) - - -def add_handler(event: type[Event]) -> Callable[[Callable[[Event], None]], Callable]: - """Decorator to register a method as a webhook handler. - - Args: - event (type[Event]): The Event subclass to handle. - - Returns: - Callable: A decorator that validates the handler signature. - """ - - def decorator(handler: Callable[[Event], None]) -> Callable[[Event], None]: - """Register the method as a handler for the event - - Args: - handler (Callable): The event handler method to register - - Returns: - Callable: The registered handler method. - """ - register_method_for_event(event, handler) - return handler - - return decorator - - -def register_method_for_event(event: type[Event], handler: Callable[[Event], None]) -> None: - """Add a handler for a specific event type. - - The handler must accept only one argument of the Event type. - - Args: - event (type[Event]): The event type to handle. - handler (Callable): The handler method. - """ - if subclasses := event.__subclasses__(): - for sub_event in subclasses: - register_method_for_event(sub_event, handler) - else: - _validate_signature(handler) - handlers[event].append(handler) - - -def _get_auth(hook_installation_target_id: int = None, installation_id: int = None) -> Auth: - """This method is used to get the authentication object for the GitHub API. - It checks if the environment variables CLIENT_ID, CLIENT_SECRET, and TOKEN are set. - If they are set, it uses the AppUserAuth object with the CLIENT_ID, CLIENT_SECRET, and TOKEN. - Otherwise, it uses the AppAuth object with the private key. - - Args: - hook_installation_target_id (int): The installation target ID. - installation_id (int): The installation ID. - - Returns: - Auth: The authentication object. - """ - if os.environ.get("CLIENT_ID"): - return AppUserAuth( - client_id=os.environ.get("CLIENT_ID"), - client_secret=os.environ.get("CLIENT_SECRET"), - token=os.environ.get("TOKEN"), - ) - if not (private_key := os.getenv("PRIVATE_KEY")): - with open("private-key.pem", "rb") as key_file: # pragma no cover - private_key = key_file.read().decode() - app_auth = AppAuth(hook_installation_target_id, private_key) - token = GithubIntegration(auth=app_auth).get_access_token(installation_id).token - return Token(token) - - -def handle(headers: dict[str, Any], body: dict[str, Any], config_file: str = None) -> None: - """Handle a webhook request. - - The request headers and body are passed to the appropriate handler methods. - - Args: - headers (dict): The request headers. - body (dict): The request body. - config_file (str): The path to the configuration file. - """ - event_class = Event.get_event(headers, body) - hook_installation_target_id = int(headers["X-Github-Hook-Installation-Target-Id"]) - installation_id = int(body["installation"]["id"]) - - auth = _get_auth(hook_installation_target_id, installation_id) - gh = Github(auth=auth) - requester = Requester( - auth=auth, - base_url=Consts.DEFAULT_BASE_URL, - timeout=Consts.DEFAULT_TIMEOUT, - user_agent=Consts.DEFAULT_USER_AGENT, - per_page=Consts.DEFAULT_PER_PAGE, - verify=True, - retry=GithubRetry(), - pool_size=None, - ) - body.pop("requester", None) - - event = event_class(gh=gh, requester=requester, headers=headers, **body) - if config_file and event.repository: - Config.load_config_from_file(config_file, event.repository) - try: - for handler in handlers.get(event_class, []): - handler(event) - except Exception as err: - for cr in event.check_runs: - if cr.status != CheckRunStatus.COMPLETED: - cr.finish(conclusion=CheckRunConclusion.FAILURE, text=traceback.format_exc()) - if not isinstance(err, GithubAppRuntimeException): - raise - - -def default_index(name: str, version: str = None, versions_to_show: Optional[list[str]] = None) -> Callable[[], str]: - """Decorator to register a default root handler. - - Args: - name (str): The name of the App. - version (str): The version of the App. - versions_to_show (Optional[list]): The libraries to show the version. - """ - versions_to_show_ = {} - if version: - versions_to_show_[name] = version - - for lib in versions_to_show or []: - versions_to_show_[lib] = get_version(lib) - - def root_wrapper() -> str: - """A wrapper function to return a default home screen for all Apps - - Returns: - str: The default home screen. - """ - resp = f"

{name} App up and running!

" - if versions_to_show_: - resp = resp + "\n" + "
".join(f"{name_}: {version_}" for name_, version_ in versions_to_show_.items()) - return resp - - return wraps(root_wrapper)(root_wrapper) - - -def _validate_signature(method: Callable[[Event], None]) -> None: - """Validate the signature of a webhook handler method. - - The method must accept only one argument of the Event type. - - Args: - method (Callable[[Event], None]): The method to validate. - - Raises: - SignatureError: If the method has a wrong signature. - """ - parameters = inspect.signature(method).parameters - if len(parameters) != 1: - signature = ", ".join(parameters.keys()) - raise SignatureError(method, signature) - - -def handle_with_flask( - app: "Flask", - use_default_index: bool = True, - webhook_endpoint: str = "/", - auth_callback_handler: Optional[Callable[[int, AccessToken], None]] = None, - version: str = None, - versions_to_show: list[str] = None, - config_file: str = None, -) -> None: - """ - This function registers the webhook_handler with a Flask application. - - Args: - app (Flask): The Flask application to register the webhook_handler with. - use_default_index (bool): Whether to register the root handler with the Flask application. Default is False. - webhook_endpoint (str): The endpoint to register the webhook_handler with. Default is "/". - auth_callback_handler (Callable[[int, AccessToken], None]): The function to handle the auth_callback. - Default is None. - - version (str): The version of the App. - versions_to_show (str): The libraries to show the version. - config_file (str): The config file path to autoload - Returns: - None - - Raises: - TypeError: If the app parameter is not a Flask instance. - """ - from flask import Flask, Response, jsonify, request - - if not isinstance(app, Flask): - raise TypeError("app must be a Flask instance") - - if use_default_index: - app.route("/", methods=["GET"])(default_index(app.name, version=version, versions_to_show=versions_to_show)) - - @app.errorhandler(Exception) - def handle_error(e: Exception) -> tuple[Response, int]: - """Handles an exception that occurred during the execution of the application.""" - tb_info = traceback.extract_tb(sys.exc_info()[2]) - filename, line, func, _ = tb_info[-1] - response = { - "success": False, - "error": { - "message": str(e), - "exception_info": { - "type": type(e).__name__, - "filename": filename, - "lineno": line, - "func": func, - }, - }, - } - return jsonify(response), 500 - - @app.route(webhook_endpoint, methods=["POST"]) - def webhook() -> str: - """ - This route is the endpoint that receives the GitHub webhook call. - It handles the headers and body of the request, and passes them to the webhook_handler for processing. - """ - headers = dict(request.headers) - body = request.json - handle(headers, body, config_file) - return "OK" - - if auth_callback_handler: - # methods for: - # - change the parameter to something like: use-user-oauth - # - save the access_token @user_oauth_registration - # - delete on installation.delete event @user_oauth_remove - # - retrieve access_token @user_oauth_retrieve - # use @, pass as parameters to this function ou as a class? - @app.route("/auth-callback") - def auth_callback() -> str: - """ - This route is the endpoint that receives the GitHub auth_callback call. - Call the auth_callback_handler with the installation_id and access_token to be saved. - """ - args = request.args - code = args.get("code") - installation_id = int(args.get("installation_id")) - access_token = ( - Github() - .get_oauth_application(os.getenv("CLIENT_ID"), os.getenv("CLIENT_SECRET")) - .get_access_token(code) - ) - - auth_callback_handler(installation_id, access_token) - return "OK" diff --git a/old_payloads/branch_protection_rule.created.json b/old_payloads/branch_protection_rule.created.json new file mode 100644 index 0000000..7013b18 --- /dev/null +++ b/old_payloads/branch_protection_rule.created.json @@ -0,0 +1,167 @@ +{ + "headers": { + "X-Github-Hook-Id": "447638328", + "X-Github-Event": "branch_protection_rule", + "X-Github-Delivery": "a74b6570-648c-11ef-8d25-82cc43a6d5af", + "X-Github-Hook-Installation-Target-Type": "integration", + "X-Github-Hook-Installation-Target-Id": "681139", + "User-Agent": "GitHub-Hookshot/b73b7cb", + "Content-Type": "application/json" + }, + "data": { + "action": "created", + "rule": { + "id": 53768366, + "repository_id": 794598641, + "name": "master", + "created_at": "2024-08-27T12:54:33.000-03:00", + "updated_at": "2024-08-27T12:54:33.000-03:00", + "pull_request_reviews_enforcement_level": "off", + "required_approving_review_count": 1, + "dismiss_stale_reviews_on_push": false, + "require_code_owner_review": false, + "authorized_dismissal_actors_only": false, + "ignore_approvals_from_contributors": false, + "required_status_checks": [], + "required_status_checks_enforcement_level": "off", + "strict_required_status_checks_policy": true, + "signature_requirement_enforcement_level": "off", + "linear_history_requirement_enforcement_level": "off", + "admin_enforced": false, + "create_protected": false, + "allow_force_pushes_enforcement_level": "off", + "allow_deletions_enforcement_level": "off", + "merge_queue_enforcement_level": "off", + "required_deployments_enforcement_level": "off", + "required_conversation_resolution_level": "off", + "authorized_actors_only": false, + "authorized_actor_names": [], + "require_last_push_approval": false, + "lock_branch_enforcement_level": "off" + }, + "repository": { + "id": 794598641, + "node_id": "R_kgDOL1yc8Q", + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-05-30T20:32:26Z", + "pushed_at": "2024-07-22T14:59:18Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 45043978, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg=" + } + } +} diff --git a/old_payloads/branch_protection_rule.deleted.json b/old_payloads/branch_protection_rule.deleted.json new file mode 100644 index 0000000..68252ff --- /dev/null +++ b/old_payloads/branch_protection_rule.deleted.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/b73b7cb", "Max-Forwards": "10", "X-Github-Delivery": "b4f90d76-648c-11ef-868c-9071f277d53c", "X-Github-Event": "branch_protection_rule", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "4c9545e0-97c0-4144-bbdf-9a92a7976dbd", "Client-Ip": "140.82.115.121:45992", "X-Client-Ip": "140.82.115.121", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.121:45992", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "45992", "Content-Type": "application/json", "Timestamp": "1724774097226", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "7154"}, "data": {"action": "deleted", "rule": {"id": 53768366, "repository_id": 794598641, "name": "master", "created_at": "2024-08-27T12:54:33.000-03:00", "updated_at": "2024-08-27T12:54:46.000-03:00", "pull_request_reviews_enforcement_level": "non_admins", "required_approving_review_count": 1, "dismiss_stale_reviews_on_push": false, "require_code_owner_review": false, "authorized_dismissal_actors_only": false, "ignore_approvals_from_contributors": false, "required_status_checks": [], "required_status_checks_enforcement_level": "off", "strict_required_status_checks_policy": true, "signature_requirement_enforcement_level": "off", "linear_history_requirement_enforcement_level": "off", "admin_enforced": false, "create_protected": false, "allow_force_pushes_enforcement_level": "off", "allow_deletions_enforcement_level": "off", "merge_queue_enforcement_level": "off", "required_deployments_enforcement_level": "off", "required_conversation_resolution_level": "off", "authorized_actors_only": false, "authorized_actor_names": [], "require_last_push_approval": false, "lock_branch_enforcement_level": "off"}, "repository": {"id": 794598641, "node_id": "R_kgDOL1yc8Q", "name": "tests", "full_name": "heitorpolidoro/tests", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/tests", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/tests", "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", "created_at": "2024-05-01T14:55:28Z", "updated_at": "2024-05-30T20:32:26Z", "pushed_at": "2024-07-22T14:59:18Z", "git_url": "git://github.com/heitorpolidoro/tests.git", "ssh_url": "git@github.com:heitorpolidoro/tests.git", "clone_url": "https://github.com/heitorpolidoro/tests.git", "svn_url": "https://github.com/heitorpolidoro/tests", "homepage": null, "size": 2, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 1, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/branch_protection_rule.edited.json b/old_payloads/branch_protection_rule.edited.json new file mode 100644 index 0000000..81caf5e --- /dev/null +++ b/old_payloads/branch_protection_rule.edited.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/b73b7cb", "Max-Forwards": "10", "X-Github-Delivery": "aebe2270-648c-11ef-8039-2b50cb98e65e", "X-Github-Event": "branch_protection_rule", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "e53e81bc-0f59-4800-a6c0-442459d1a0f5", "Client-Ip": "140.82.115.32:41022", "X-Client-Ip": "140.82.115.32", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.32:41022", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "41022", "Content-Type": "application/json", "Timestamp": "1724774086969", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "7270"}, "data": {"action": "edited", "rule": {"id": 53768366, "repository_id": 794598641, "name": "master", "created_at": "2024-08-27T12:54:33.000-03:00", "updated_at": "2024-08-27T12:54:46.000-03:00", "pull_request_reviews_enforcement_level": "non_admins", "required_approving_review_count": 1, "dismiss_stale_reviews_on_push": false, "require_code_owner_review": false, "authorized_dismissal_actors_only": false, "ignore_approvals_from_contributors": false, "required_status_checks": [], "required_status_checks_enforcement_level": "off", "strict_required_status_checks_policy": true, "signature_requirement_enforcement_level": "off", "linear_history_requirement_enforcement_level": "off", "admin_enforced": false, "create_protected": false, "allow_force_pushes_enforcement_level": "off", "allow_deletions_enforcement_level": "off", "merge_queue_enforcement_level": "off", "required_deployments_enforcement_level": "off", "required_conversation_resolution_level": "off", "authorized_actors_only": false, "authorized_actor_names": [], "require_last_push_approval": false, "lock_branch_enforcement_level": "off"}, "changes": {"pull_request_reviews_enforcement_level": {"from": "off"}, "authorized_dismissal_actors_only": {"from": null}}, "repository": {"id": 794598641, "node_id": "R_kgDOL1yc8Q", "name": "tests", "full_name": "heitorpolidoro/tests", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/tests", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/tests", "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", "created_at": "2024-05-01T14:55:28Z", "updated_at": "2024-05-30T20:32:26Z", "pushed_at": "2024-07-22T14:59:18Z", "git_url": "git://github.com/heitorpolidoro/tests.git", "ssh_url": "git@github.com:heitorpolidoro/tests.git", "clone_url": "https://github.com/heitorpolidoro/tests.git", "svn_url": "https://github.com/heitorpolidoro/tests", "homepage": null, "size": 2, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 1, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/check_run.completed.json b/old_payloads/check_run.completed.json new file mode 100644 index 0000000..5d2fc4b --- /dev/null +++ b/old_payloads/check_run.completed.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/45184e4", "Max-Forwards": "10", "X-Github-Delivery": "8c771e60-f6be-11ee-8d85-c676dc4e092d", "X-Github-Event": "check_run", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "6bfca072-2a91-4ab4-ba99-c9cd07f5cec7", "Client-Ip": "140.82.115.40:49000", "X-Client-Ip": "140.82.115.40", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.40:49000", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "49000", "Content-Type": "application/json", "Timestamp": "1712700876298", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "12299"}, "data": {"action": "completed", "check_run": {"id": 23635205490, "name": "Bartholomew - Pull Request Manager", "node_id": "CR_kwDOLC2AQM8AAAAFgMSdcg", "head_sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "external_id": "", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-runs/23635205490", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/runs/23635205490", "details_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "status": "completed", "conclusion": "success", "started_at": "2024-04-09T22:13:44Z", "completed_at": "2024-04-09T22:14:35Z", "output": {"title": "Pull Request Manager", "summary": "Pull Request for 'heitorpolidoro:refactoring' into 'master (PR#209)'\nAuto-merge enabled", "text": null, "annotations_count": 0, "annotations_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-runs/23635205490/annotations"}, "check_suite": {"id": 22591640011, "node_id": "CS_kwDOLC2AQM8AAAAFQpERyw", "head_branch": "refactoring", "head_sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "status": "completed", "conclusion": "success", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-suites/22591640011", "before": "93486b7e804c9f8da5781d3677bc30b3690e1067", "after": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "pull_requests": [{"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209", "id": 1814843811, "number": 209, "head": {"ref": "refactoring", "sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "repo": {"id": 741179456, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "name": "bartholomew-smith"}}, "base": {"ref": "master", "sha": "be2997cfa174cdce9ac9cf94578682d92b994a8d", "repo": {"id": 741179456, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "name": "bartholomew-smith"}}}], "app": {"id": 792560, "slug": "bartholomew-smith", "node_id": "A_kwDOAOHtHM4ADBfw", "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "created_at": "2024-04-09T20:09:29Z", "updated_at": "2024-04-09T22:14:35Z"}, "app": {"id": 792560, "slug": "bartholomew-smith", "node_id": "A_kwDOAOHtHM4ADBfw", "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "pull_requests": [{"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209", "id": 1814843811, "number": 209, "head": {"ref": "refactoring", "sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "repo": {"id": 741179456, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "name": "bartholomew-smith"}}, "base": {"ref": "master", "sha": "be2997cfa174cdce9ac9cf94578682d92b994a8d", "repo": {"id": 741179456, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "name": "bartholomew-smith"}}}]}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 80, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 80, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/check_run.created.json b/old_payloads/check_run.created.json new file mode 100644 index 0000000..4a2c64e --- /dev/null +++ b/old_payloads/check_run.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/45184e4", "Max-Forwards": "10", "X-Github-Delivery": "29867c50-f6bf-11ee-96ec-43576dc579a4", "X-Github-Event": "check_run", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "25a4f5ea-3660-4506-a9e6-0174f27b6674", "Client-Ip": "140.82.115.61:45872", "X-Client-Ip": "140.82.115.61", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.61:45872", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "45872", "Content-Type": "application/json", "Timestamp": "1712701139895", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "11193"}, "data": {"action": "created", "check_run": {"id": 23635356751, "name": "Bartholomew - Pull Request Manager", "node_id": "CR_kwDOLC2AQM8AAAAFgMbsTw", "head_sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "external_id": "", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-runs/23635356751", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/runs/23635356751", "details_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "status": "in_progress", "conclusion": null, "started_at": "2024-04-09T22:18:59Z", "completed_at": null, "output": {"title": "Bartholomew - Pull Request Manager", "summary": "", "text": null, "annotations_count": 0, "annotations_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-runs/23635356751/annotations"}, "check_suite": {"id": 22591640011, "node_id": "CS_kwDOLC2AQM8AAAAFQpERyw", "head_branch": "refactoring", "head_sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "status": "in_progress", "conclusion": null, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-suites/22591640011", "before": "93486b7e804c9f8da5781d3677bc30b3690e1067", "after": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "pull_requests": [], "app": {"id": 792560, "slug": "bartholomew-smith", "node_id": "A_kwDOAOHtHM4ADBfw", "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "created_at": "2024-04-09T20:09:29Z", "updated_at": "2024-04-09T22:18:59Z"}, "app": {"id": 792560, "slug": "bartholomew-smith", "node_id": "A_kwDOAOHtHM4ADBfw", "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "pull_requests": []}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 79, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 79, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/check_suite.completed.json b/old_payloads/check_suite.completed.json new file mode 100644 index 0000000..483e71d --- /dev/null +++ b/old_payloads/check_suite.completed.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/45184e4", "Max-Forwards": "10", "X-Github-Delivery": "8c743830-f6be-11ee-957f-3df25dae2de9", "X-Github-Event": "check_suite", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "da1984cd-647e-4f14-8d42-3ee168ff25ee", "Client-Ip": "140.82.115.96:58892", "X-Client-Ip": "140.82.115.96", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.96:58892", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "58892", "Content-Type": "application/json", "Timestamp": "1712700876283", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "10232"}, "data": {"action": "completed", "check_suite": {"id": 22591640011, "node_id": "CS_kwDOLC2AQM8AAAAFQpERyw", "head_branch": "refactoring", "head_sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "status": "completed", "conclusion": "success", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-suites/22591640011", "before": "93486b7e804c9f8da5781d3677bc30b3690e1067", "after": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "pull_requests": [{"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209", "id": 1814843811, "number": 209, "head": {"ref": "refactoring", "sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "repo": {"id": 741179456, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "name": "bartholomew-smith"}}, "base": {"ref": "master", "sha": "be2997cfa174cdce9ac9cf94578682d92b994a8d", "repo": {"id": 741179456, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "name": "bartholomew-smith"}}}], "app": {"id": 792560, "slug": "bartholomew-smith", "node_id": "A_kwDOAOHtHM4ADBfw", "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "created_at": "2024-04-09T20:09:29Z", "updated_at": "2024-04-09T22:14:35Z", "rerequestable": true, "runs_rerequestable": true, "latest_check_runs_count": 2, "check_runs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/check-suites/22591640011/check-runs", "head_commit": {"id": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "tree_id": "20b6dbff1f9ae1a7f7cacc1624d8d6fed4779a51", "message": "style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 93486b7 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/bartholomew-smith/pull/209", "timestamp": "2024-04-09T20:09:27Z", "author": {"name": "deepsource-autofix[bot]", "email": "62050782+deepsource-autofix[bot]@users.noreply.github.com"}, "committer": {"name": "GitHub", "email": "noreply@github.com"}}}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 80, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 80, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/check_suite.requested.json b/old_payloads/check_suite.requested.json new file mode 100644 index 0000000..0a71cc3 --- /dev/null +++ b/old_payloads/check_suite.requested.json @@ -0,0 +1,237 @@ +{ + "headers": { + "Host": "127.0.0.1:3333", + "Connection": "keep-alive", + "Accept": "*/*", + "User-Agent": "GitHub-Hookshot/45184e4", + "Max-Forwards": "10", + "X-Github-Delivery": "126c5a10-f6ad-11ee-8719-d25e4bd9938d", + "X-Github-Event": "check_suite", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "X-Arr-Log-Id": "2d9dff52-07c0-454c-828c-24b28e8b9c32", + "Client-Ip": "140.82.115.24:51022", + "X-Client-Ip": "140.82.115.24", + "Disguised-Host": "smee.io", + "X-Site-Deployment-Id": "smee-io-production", + "Was-Default-Hostname": "smee-io-production.azurewebsites.net", + "X-Forwarded-Proto": "https", + "X-Appservice-Proto": "https", + "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", + "X-Forwarded-Tlsversion": "1.3", + "X-Forwarded-For": "140.82.115.24:51022", + "X-Original-Url": "/polidoro-testing", + "X-Waws-Unencoded-Url": "/polidoro-testing", + "X-Client-Port": "51022", + "Content-Type": "application/json", + "Timestamp": "1712700763440", + "Accept-Language": "*", + "Sec-Fetch-Mode": "cors", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "12856" + }, + "data": { + "action": "requested", + "check_suite": { + "id": 24364626567, + "node_id": "CS_kwDOL1yc8c8AAAAFrD6yhw", + "head_branch": "test3", + "head_sha": "22d1d804db013e5970ad6a48a0d0b594da82ee4a", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/24364626567", + "before": "b13c06084b1ab8aed2adb9554825dc87d5afbc9f", + "after": "22d1d804db013e5970ad6a48a0d0b594da82ee4a", + "pull_requests": [ + ], + "app": { + "id": 792560, + "slug": "bartholomew-smith", + "node_id": "A_kwDOAOHtHM4ADBfw", + "owner": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "name": "Bartholomew Smith", + "description": "", + "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", + "html_url": "https://github.com/apps/bartholomew-smith", + "created_at": "2024-01-09T21:24:59Z", + "updated_at": "2024-01-26T20:55:24Z", + "permissions": { + "checks": "write", + "contents": "write", + "issues": "write", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "check_suite", + "issues" + ] + }, + "created_at": "2024-05-30T20:38:16Z", + "updated_at": "2024-05-30T20:38:16Z", + "rerequestable": true, + "runs_rerequestable": true, + "latest_check_runs_count": 0, + "check_runs_url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/24364626567/check-runs", + "head_commit": { + "id": "22d1d804db013e5970ad6a48a0d0b594da82ee4a", + "tree_id": "6b88bde6c41943626c3716c77416266b96db26a8", + "message": "test", + "timestamp": "2024-05-30T20:38:13Z", + "author": { + "name": "Heitor Polidoro", + "email": "heitor.polidoro@gmail.com" + }, + "committer": { + "name": "Heitor Polidoro", + "email": "heitor.polidoro@gmail.com" + } + } + }, + "repository": { + "id": 794598641, + "node_id": "R_kgDOL1yc8Q", + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-05-30T20:32:26Z", + "pushed_at": "2024-05-30T20:38:15Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + ], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 45985861, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDU5ODU4NjE=" + } + } +} diff --git a/old_payloads/create.json b/old_payloads/create.json new file mode 100644 index 0000000..8e4bc9e --- /dev/null +++ b/old_payloads/create.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "23b57590-f397-11ee-82d7-1ed25ad54113", "X-Github-Event": "create", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "1ad0d893-c665-47c6-9f56-dd5fa77164ad", "Client-Ip": "140.82.115.144:30980", "X-Client-Ip": "140.82.115.144", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.144:30980", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "30980", "Content-Type": "application/json", "Timestamp": "1712354096610", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "7116"}, "data": {"ref": "0.24.0", "ref_type": "tag", "master_branch": "master", "description": "A handler helper to create Github App easily", "pusher_type": "user", "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/delete.json b/old_payloads/delete.json new file mode 100644 index 0000000..aa34206 --- /dev/null +++ b/old_payloads/delete.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "7f91f300-cc52-11ee-8b60-235d6bfd75d9", "X-Github-Event": "delete", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "b4c315b5-9294-4efa-b48b-93d31f447d8e", "Client-Ip": "140.82.115.254:50672", "X-Client-Ip": "140.82.115.254", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.254:50672", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "50672", "Content-Type": "application/json", "Timestamp": "1708036520217", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "6907"}, "data": {"ref": "issue-193", "ref_type": "branch", "pusher_type": "user", "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-02-15T22:35:17Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 165, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 22, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 22, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/deployment.created.json b/old_payloads/deployment.created.json new file mode 100644 index 0000000..4901012 --- /dev/null +++ b/old_payloads/deployment.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "24d7d580-f397-11ee-821d-8b7592efba35", "X-Github-Event": "deployment", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "0ffe02f8-1069-4cb3-ae7b-215df7885b97", "Client-Ip": "140.82.115.36:47942", "X-Client-Ip": "140.82.115.36", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.36:47942", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "47942", "Content-Type": "application/json", "Timestamp": "1712354098732", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "12372"}, "data": {"deployment": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061", "id": 1434080061, "node_id": "DE_kwDOK55OMM5VelM9", "task": "deploy", "original_environment": "pypi", "environment": "pypi", "description": null, "created_at": "2024-04-05T21:54:57Z", "updated_at": "2024-04-05T21:54:57Z", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061/statuses", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "creator": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "ref": "0.24.0", "payload": {}, "transient_environment": false, "production_environment": false, "performed_via_github_app": null}, "action": "created", "workflow": {"id": 81274491, "node_id": "W_kwDOK55OMM4E2CZ7", "name": "Upload Python Package", "path": ".github/workflows/pypi-publish.yml", "state": "active", "created_at": "2024-01-04T21:31:43.000Z", "updated_at": "2024-01-12T19:41:41.000Z", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "html_url": "https://github.com/heitorpolidoro/github-app-handler/blob/master/.github/workflows/pypi-publish.yml", "badge_url": "https://github.com/heitorpolidoro/github-app-handler/workflows/Upload%20Python%20Package/badge.svg"}, "workflow_run": {"id": 8576133480, "name": "Upload Python Package", "node_id": "WFR_kwLOK55OMM8AAAAB_y1paA", "head_branch": "0.24.0", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "path": ".github/workflows/pypi-publish.yml", "display_title": "0.24.0", "run_number": 19, "event": "release", "status": "queued", "conclusion": null, "workflow_id": 81274491, "check_suite_id": 22480147219, "check_suite_node_id": "CS_kwDOK55OMM8AAAAFO-vTEw", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480", "pull_requests": [], "created_at": "2024-04-05T21:54:56Z", "updated_at": "2024-04-05T21:54:56Z", "actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "run_attempt": 1, "referenced_workflows": [], "run_started_at": "2024-04-05T21:54:56Z", "triggering_actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/deployment_status.created.json b/old_payloads/deployment_status.created.json new file mode 100644 index 0000000..fcf4be5 --- /dev/null +++ b/old_payloads/deployment_status.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "3f76ddf0-f397-11ee-8d2a-d0bfcfe23d83", "X-Github-Event": "deployment_status", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "67530020-bbc8-4436-8ee0-c2f66bdc5dc9", "Client-Ip": "140.82.115.173:25676", "X-Client-Ip": "140.82.115.173", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.173:25676", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "25676", "Content-Type": "application/json", "Timestamp": "1712354143343", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "14939"}, "data": {"deployment_status": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061/statuses/3513770822", "id": 3513770822, "node_id": "DES_kwDOK55OMM7Rb-NG", "state": "success", "creator": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "description": "", "environment": "pypi", "target_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480/job/23506561805", "created_at": "2024-04-05T21:55:42Z", "updated_at": "2024-04-05T21:55:42Z", "deployment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "environment_url": "https://pypi.org/p/github-actions-utils", "log_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480/job/23506561805", "performed_via_github_app": null}, "deployment": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061", "id": 1434080061, "node_id": "DE_kwDOK55OMM5VelM9", "task": "deploy", "original_environment": "pypi", "environment": "pypi", "description": null, "created_at": "2024-04-05T21:54:57Z", "updated_at": "2024-04-05T21:55:42Z", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061/statuses", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "creator": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "ref": "0.24.0", "payload": {}, "transient_environment": false, "production_environment": false, "performed_via_github_app": null}, "check_run": {"id": 23506561805, "name": "Upload release to PyPI", "node_id": "CR_kwDOK55OMM8AAAAFeRmrDQ", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "external_id": "0d7388ce-4100-5e29-3123-5829a48bc635", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/check-runs/23506561805", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480/job/23506561805", "details_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480/job/23506561805", "status": "completed", "conclusion": "success", "started_at": "2024-04-05T21:55:04Z", "completed_at": "2024-04-05T21:55:40Z"}, "workflow": {"id": 81274491, "node_id": "W_kwDOK55OMM4E2CZ7", "name": "Upload Python Package", "path": ".github/workflows/pypi-publish.yml", "state": "active", "created_at": "2024-01-04T21:31:43.000Z", "updated_at": "2024-01-12T19:41:41.000Z", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "html_url": "https://github.com/heitorpolidoro/github-app-handler/blob/master/.github/workflows/pypi-publish.yml", "badge_url": "https://github.com/heitorpolidoro/github-app-handler/workflows/Upload%20Python%20Package/badge.svg"}, "workflow_run": {"id": 8576133480, "name": "Upload Python Package", "node_id": "WFR_kwLOK55OMM8AAAAB_y1paA", "head_branch": "0.24.0", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "path": ".github/workflows/pypi-publish.yml", "display_title": "0.24.0", "run_number": 19, "event": "release", "status": "completed", "conclusion": "success", "workflow_id": 81274491, "check_suite_id": 22480147219, "check_suite_node_id": "CS_kwDOK55OMM8AAAAFO-vTEw", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480", "pull_requests": [], "created_at": "2024-04-05T21:54:56Z", "updated_at": "2024-04-05T21:55:42Z", "actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "run_attempt": 1, "referenced_workflows": [], "run_started_at": "2024-04-05T21:54:56Z", "triggering_actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}}, "action": "created", "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/gollum.json b/old_payloads/gollum.json new file mode 100644 index 0000000..e232ee1 --- /dev/null +++ b/old_payloads/gollum.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/547858f", "Max-Forwards": "10", "X-Github-Delivery": "8d8fb9b0-bc7b-11ee-924e-30ebbb742744", "X-Github-Event": "gollum", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "3374c010-231b-4558-bede-a812d9025e18", "Client-Ip": "140.82.115.54:58616", "X-Client-Ip": "140.82.115.54", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.54:58616", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "58616", "Content-Type": "application/json", "Timestamp": "1706294934194", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "7575"}, "data": {"pages": [{"page_name": "Issue-Manager", "title": "Issue Manager", "summary": null, "action": "edited", "sha": "8e1c6ad3f89abd8aa1088ba57fcf04582bc0dc7f", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/wiki/Issue-Manager"}, {"page_name": "Pull-Request-Manager", "title": "Pull Request Manager", "summary": null, "action": "edited", "sha": "8e1c6ad3f89abd8aa1088ba57fcf04582bc0dc7f", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/wiki/Pull-Request-Manager"}, {"page_name": "Release-Manager", "title": "Release Manager", "summary": null, "action": "edited", "sha": "8e1c6ad3f89abd8aa1088ba57fcf04582bc0dc7f", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/wiki/Release-Manager"}], "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T18:48:20Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 439, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 22, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 22, "watchers": 1, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/installation.created.json b/old_payloads/installation.created.json new file mode 100644 index 0000000..867ff86 --- /dev/null +++ b/old_payloads/installation.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/96ad3f1", "Max-Forwards": "10", "X-Github-Delivery": "ea483a30-f568-11ee-98a6-9cfcf26977ba", "X-Github-Event": "installation", "X-Github-Hook-Id": "453777907", "X-Github-Hook-Installation-Target-Id": "792560", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "9905bb0c-bc35-40ec-8c73-8518c87248d3", "Client-Ip": "140.82.115.175:15676", "X-Client-Ip": "140.82.115.175", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.175:15676", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "15676", "Content-Type": "application/json", "Timestamp": "1712594760829", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9633"}, "data": {"action": "created", "installation": {"id": 49370070, "account": {"login": "Sowhat999", "id": 136038418, "node_id": "U_kgDOCBvIEg", "avatar_url": "https://avatars.githubusercontent.com/u/136038418?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sowhat999", "html_url": "https://github.com/Sowhat999", "followers_url": "https://api.github.com/users/Sowhat999/followers", "following_url": "https://api.github.com/users/Sowhat999/following{/other_user}", "gists_url": "https://api.github.com/users/Sowhat999/gists{/gist_id}", "starred_url": "https://api.github.com/users/Sowhat999/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sowhat999/subscriptions", "organizations_url": "https://api.github.com/users/Sowhat999/orgs", "repos_url": "https://api.github.com/users/Sowhat999/repos", "events_url": "https://api.github.com/users/Sowhat999/events{/privacy}", "received_events_url": "https://api.github.com/users/Sowhat999/received_events", "type": "User", "site_admin": false}, "repository_selection": "all", "access_tokens_url": "https://api.github.com/app/installations/49370070/access_tokens", "repositories_url": "https://api.github.com/installation/repositories", "html_url": "https://github.com/settings/installations/49370070", "app_id": 792560, "app_slug": "bartholomew-smith", "target_id": 136038418, "target_type": "User", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"], "created_at": "2024-04-08T00:29:05.000-05:00", "updated_at": "2024-04-08T00:29:05.000-05:00", "single_file_name": null, "has_multiple_single_files": false, "single_file_paths": [], "suspended_by": null, "suspended_at": null}, "repositories": [{"id": 651639696, "node_id": "R_kgDOJtc7kA", "name": "You-Dont-Know-JS", "full_name": "Sowhat999/You-Dont-Know-JS", "private": false}, {"id": 651675045, "node_id": "R_kgDOJtfFpQ", "name": "pcsx2", "full_name": "Sowhat999/pcsx2", "private": false}, {"id": 652083173, "node_id": "R_kgDOJt3_5Q", "name": "free-programming-books", "full_name": "Sowhat999/free-programming-books", "private": false}, {"id": 652533147, "node_id": "R_kgDOJuTdmw", "name": "apertium-gle", "full_name": "Sowhat999/apertium-gle", "private": false}, {"id": 652742313, "node_id": "R_kgDOJugOqQ", "name": "nodebestpractices", "full_name": "Sowhat999/nodebestpractices", "private": false}, {"id": 652780467, "node_id": "R_kgDOJuijsw", "name": "eve-online-research", "full_name": "Sowhat999/eve-online-research", "private": false}, {"id": 652795300, "node_id": "R_kgDOJujdpA", "name": "Hercules", "full_name": "Sowhat999/Hercules", "private": false}, {"id": 653914415, "node_id": "R_kgDOJvnxLw", "name": "dump.HN", "full_name": "Sowhat999/dump.HN", "private": false}, {"id": 654374627, "node_id": "R_kgDOJwD24w", "name": "Prompt-Engineering-Guide", "full_name": "Sowhat999/Prompt-Engineering-Guide", "private": false}, {"id": 654378429, "node_id": "R_kgDOJwEFvQ", "name": "gh-actions-importer", "full_name": "Sowhat999/gh-actions-importer", "private": false}, {"id": 654403709, "node_id": "R_kgDOJwFofQ", "name": "cursos-python", "full_name": "Sowhat999/cursos-python", "private": false}, {"id": 654728150, "node_id": "R_kgDOJwZb1g", "name": "awesome-selfhosted", "full_name": "Sowhat999/awesome-selfhosted", "private": false}, {"id": 654740404, "node_id": "R_kgDOJwaLtA", "name": "kx", "full_name": "Sowhat999/kx", "private": false}, {"id": 655171363, "node_id": "R_kgDOJw0fIw", "name": "nibabel", "full_name": "Sowhat999/nibabel", "private": false}, {"id": 655188986, "node_id": "R_kgDOJw1j-g", "name": "reliability", "full_name": "Sowhat999/reliability", "private": false}, {"id": 655197690, "node_id": "R_kgDOJw2F-g", "name": "zen-kernel", "full_name": "Sowhat999/zen-kernel", "private": false}, {"id": 655274516, "node_id": "R_kgDOJw6yFA", "name": "the-stack", "full_name": "Sowhat999/the-stack", "private": false}, {"id": 655404973, "node_id": "R_kgDOJxCvrQ", "name": "SMC18", "full_name": "Sowhat999/SMC18", "private": false}, {"id": 655412916, "node_id": "R_kgDOJxDOtA", "name": "comp.soc-of-philosophy", "full_name": "Sowhat999/comp.soc-of-philosophy", "private": false}, {"id": 655414463, "node_id": "R_kgDOJxDUvw", "name": "evennia", "full_name": "Sowhat999/evennia", "private": false}, {"id": 655509438, "node_id": "R_kgDOJxJHvg", "name": "emmmm", "full_name": "Sowhat999/emmmm", "private": false}, {"id": 656020749, "node_id": "R_kgDOJxoVDQ", "name": "saleor", "full_name": "Sowhat999/saleor", "private": false}, {"id": 656034609, "node_id": "R_kgDOJxpLMQ", "name": "aied-staging.github.io", "full_name": "Sowhat999/aied-staging.github.io", "private": false}, {"id": 656279029, "node_id": "R_kgDOJx4F9Q", "name": "AI-Infinity", "full_name": "Sowhat999/AI-Infinity", "private": false}, {"id": 656281002, "node_id": "R_kgDOJx4Nqg", "name": "AI-MTHRFCKR", "full_name": "Sowhat999/AI-MTHRFCKR", "private": false}, {"id": 657446100, "node_id": "R_kgDOJy_U1A", "name": "Marlin", "full_name": "Sowhat999/Marlin", "private": false}, {"id": 657450238, "node_id": "R_kgDOJy_k_g", "name": "awesome-design-systems", "full_name": "Sowhat999/awesome-design-systems", "private": false}, {"id": 658181542, "node_id": "R_kgDOJzsNpg", "name": "axoloti", "full_name": "Sowhat999/axoloti", "private": false}, {"id": 658183168, "node_id": "R_kgDOJzsUAA", "name": "awesome-go", "full_name": "Sowhat999/awesome-go", "private": false}, {"id": 658183955, "node_id": "R_kgDOJzsXEw", "name": "person-blocker", "full_name": "Sowhat999/person-blocker", "private": false}, {"id": 659774506, "node_id": "R_kgDOJ1NcKg", "name": "linux", "full_name": "Sowhat999/linux", "private": false}, {"id": 660388072, "node_id": "R_kgDOJ1y46A", "name": "voynich-translation", "full_name": "Sowhat999/voynich-translation", "private": false}, {"id": 660417135, "node_id": "R_kgDOJ10qbw", "name": "html5-boilerplate", "full_name": "Sowhat999/html5-boilerplate", "private": false}, {"id": 660454853, "node_id": "R_kgDOJ129xQ", "name": "build-your-own-x", "full_name": "Sowhat999/build-your-own-x", "private": false}, {"id": 660854924, "node_id": "R_kgDOJ2PYjA", "name": "Web-Fuzzing-Box", "full_name": "Sowhat999/Web-Fuzzing-Box", "private": false}, {"id": 660895852, "node_id": "R_kgDOJ2R4bA", "name": "instahack", "full_name": "Sowhat999/instahack", "private": false}, {"id": 661414200, "node_id": "R_kgDOJ2xhOA", "name": "nodejs-mobile", "full_name": "Sowhat999/nodejs-mobile", "private": false}, {"id": 662415737, "node_id": "R_kgDOJ3upeQ", "name": "java-design-patterns", "full_name": "Sowhat999/java-design-patterns", "private": false}, {"id": 662418028, "node_id": "R_kgDOJ3uybA", "name": "go", "full_name": "Sowhat999/go", "private": false}, {"id": 666159000, "node_id": "R_kgDOJ7THmA", "name": "FMHYedit", "full_name": "Sowhat999/FMHYedit", "private": false}, {"id": 666566285, "node_id": "R_kgDOJ7r-jQ", "name": "BanfieldLabProjects", "full_name": "Sowhat999/BanfieldLabProjects", "private": false}, {"id": 666590835, "node_id": "R_kgDOJ7tecw", "name": "gvt-linux", "full_name": "Sowhat999/gvt-linux", "private": false}, {"id": 668986464, "node_id": "R_kgDOJ9_sYA", "name": "pvslib", "full_name": "Sowhat999/pvslib", "private": false}, {"id": 725840600, "node_id": "R_kgDOK0Ny2A", "name": "reassembly-ai-mod-example", "full_name": "Sowhat999/reassembly-ai-mod-example", "private": false}, {"id": 725952172, "node_id": "R_kgDOK0UmrA", "name": "suggest", "full_name": "Sowhat999/suggest", "private": false}, {"id": 735002011, "node_id": "R_kgDOK889mw", "name": "openai-cookbook", "full_name": "Sowhat999/openai-cookbook", "private": false}, {"id": 735223919, "node_id": "R_kgDOK9Kgbw", "name": "pal", "full_name": "Sowhat999/pal", "private": false}, {"id": 735430944, "node_id": "R_kgDOK9XJIA", "name": "submissions-fall-2014", "full_name": "Sowhat999/submissions-fall-2014", "private": false}, {"id": 735722506, "node_id": "R_kgDOK9o8Cg", "name": "PySimpleGUI", "full_name": "Sowhat999/PySimpleGUI", "private": false}, {"id": 735798624, "node_id": "R_kgDOK9tlYA", "name": "Project_Scripts", "full_name": "Sowhat999/Project_Scripts", "private": false}, {"id": 737236986, "node_id": "R_kgDOK_FX-g", "name": "talks", "full_name": "Sowhat999/talks", "private": false}, {"id": 737496006, "node_id": "R_kgDOK_VLxg", "name": "moby", "full_name": "Sowhat999/moby", "private": false}, {"id": 737533599, "node_id": "R_kgDOK_Xenw", "name": "paper", "full_name": "Sowhat999/paper", "private": false}, {"id": 737549037, "node_id": "R_kgDOK_Ya7Q", "name": "wepy-mall", "full_name": "Sowhat999/wepy-mall", "private": false}, {"id": 738387467, "node_id": "R_kgDOLALmCw", "name": "materialize", "full_name": "Sowhat999/materialize", "private": false}, {"id": 739706650, "node_id": "R_kgDOLBcHGg", "name": "SecLists", "full_name": "Sowhat999/SecLists", "private": false}, {"id": 739906175, "node_id": "R_kgDOLBoSfw", "name": "awesome-indonesia-repo", "full_name": "Sowhat999/awesome-indonesia-repo", "private": false}, {"id": 739983880, "node_id": "R_kgDOLBtCCA", "name": "Library_of_jumble", "full_name": "Sowhat999/Library_of_jumble", "private": false}, {"id": 741631601, "node_id": "R_kgDOLDRmcQ", "name": "FUZIX", "full_name": "Sowhat999/FUZIX", "private": false}, {"id": 743075788, "node_id": "R_kgDOLEpvzA", "name": "godot", "full_name": "Sowhat999/godot", "private": false}], "requester": null, "sender": {"login": "Sowhat999", "id": 136038418, "node_id": "U_kgDOCBvIEg", "avatar_url": "https://avatars.githubusercontent.com/u/136038418?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sowhat999", "html_url": "https://github.com/Sowhat999", "followers_url": "https://api.github.com/users/Sowhat999/followers", "following_url": "https://api.github.com/users/Sowhat999/following{/other_user}", "gists_url": "https://api.github.com/users/Sowhat999/gists{/gist_id}", "starred_url": "https://api.github.com/users/Sowhat999/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Sowhat999/subscriptions", "organizations_url": "https://api.github.com/users/Sowhat999/orgs", "repos_url": "https://api.github.com/users/Sowhat999/repos", "events_url": "https://api.github.com/users/Sowhat999/events{/privacy}", "received_events_url": "https://api.github.com/users/Sowhat999/received_events", "type": "User", "site_admin": false}}} \ No newline at end of file diff --git a/old_payloads/issue_comment.created.json b/old_payloads/issue_comment.created.json new file mode 100644 index 0000000..6f2ca2c --- /dev/null +++ b/old_payloads/issue_comment.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "fb971af0-cd17-11ee-809a-a213711b1edf", "X-Github-Event": "issue_comment", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "f82f9994-c7dd-4a61-b1dc-4580e0851827", "Client-Ip": "140.82.115.44:49062", "X-Client-Ip": "140.82.115.44", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.44:49062", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "49062", "Content-Type": "application/json", "Timestamp": "1708121339254", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "11699"}, "data": {"action": "created", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/5", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-test", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/5/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/5/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/5/events", "html_url": "https://github.com/heitorpolidoro/github-app-test/issues/5", "id": 2139517675, "node_id": "I_kwDOK3C0Sc5_hnLr", "number": 5, "title": "big list", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 1, "created_at": "2024-02-16T21:33:07Z", "updated_at": "2024-02-16T22:08:58Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, "body": "- [ ] heitorpolidoro/github-app-test#17\r\n- [ ] heitorpolidoro/github-app-test#18\r\n- [ ] heitorpolidoro/github-app-test#19\r\n- [ ] heitorpolidoro/github-app-test#20\r\n- [ ] heitorpolidoro/github-app-test#21\r\n- [ ] heitorpolidoro/github-app-test#22\r\n- [ ] heitorpolidoro/github-app-test#23\r\n- [ ] heitorpolidoro/github-app-test#24\r\n- [ ] heitorpolidoro/github-app-test#25\r\n- [ ] heitorpolidoro/github-app-test#26\r\n- [ ] heitorpolidoro/github-app-test#27\r\n- [ ] heitorpolidoro/github-app-test#28\r\n- [ ] heitorpolidoro/github-app-test#29\r\n- [ ] heitorpolidoro/github-app-test#30\r\n- [ ] heitorpolidoro/github-app-test#31\r\n- [ ] heitorpolidoro/github-app-test#32\r\n- [ ] 16\r\n- [ ] 18\r\n- [ ] 19\r\n- [ ] 20\r\n- [ ] 21\r\n- [ ] 22\r\n- [ ] 23\r\n- [ ] 24\r\n- [ ] 25\r\n- [ ] 26\r\n- [ ] 27\r\n- [ ] 28\r\n- [ ] 29\r\n- [ ] 30\r\n- [ ] 31\r\n- [ ] 32\r\n- [ ] 33\r\n- [ ] 34\r\n- [ ] 35\r\n- [ ] 36\r\n- [ ] 37\r\n- [ ] 38\r\n- [ ] 39\r\n- [ ] 40\r\n- [ ] 41\r\n- [ ] 42\r\n- [ ] 43\r\n- [ ] 44\r\n- [ ] 45\r\n- [ ] 46\r\n- [ ] 47\r\n- [ ] 48\r\n- [ ] 49\r\n- [ ] 50", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/5/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/5/timeline", "performed_via_github_app": null, "state_reason": null}, "comment": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/comments/1949404756", "html_url": "https://github.com/heitorpolidoro/github-app-test/issues/5#issuecomment-1949404756", "issue_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/5", "id": 1949404756, "node_id": "IC_kwDOK3C0Sc50MY5U", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "created_at": "2024-02-16T22:08:57Z", "updated_at": "2024-02-16T22:08:57Z", "author_association": "OWNER", "body": "other commend", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/comments/1949404756/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": null}, "repository": {"id": 728806473, "node_id": "R_kgDOK3C0SQ", "name": "github-app-test", "full_name": "heitorpolidoro/github-app-test", "private": true, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-test", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-test", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/deployments", "created_at": "2023-12-07T18:29:31Z", "updated_at": "2023-12-07T20:58:38Z", "pushed_at": "2024-02-06T16:33:58Z", "git_url": "git://github.com/heitorpolidoro/github-app-test.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-test.git", "clone_url": "https://github.com/heitorpolidoro/github-app-test.git", "svn_url": "https://github.com/heitorpolidoro/github-app-test", "homepage": "https://github-app-test-eight.vercel.app", "size": 11, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 29, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "private", "forks": 0, "open_issues": 29, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issue_comment.deleted.json b/old_payloads/issue_comment.deleted.json new file mode 100644 index 0000000..b7e23fb --- /dev/null +++ b/old_payloads/issue_comment.deleted.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/547858f", "Max-Forwards": "10", "X-Github-Delivery": "0f38d020-bc93-11ee-884a-f8e2d5ad4bcc", "X-Github-Event": "issue_comment", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "d71c4f4a-fcf6-455e-a3b1-aab8f26e8a06", "Client-Ip": "140.82.115.146:22364", "X-Client-Ip": "140.82.115.146", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.146:22364", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "22364", "Content-Type": "application/json", "Timestamp": "1706305030581", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "16868"}, "data": {"action": "deleted", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98", "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/events", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98", "id": 2102921107, "node_id": "PR_kwDOLC2AQM5lMmVg", "number": 98, "title": "deepsource", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 2, "created_at": "2024-01-26T21:21:51Z", "updated_at": "2024-01-26T21:36:56Z", "closed_at": null, "author_association": "CONTRIBUTOR", "active_lock_reason": null, "draft": false, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98.patch", "merged_at": null}, "body": "Pull Request automatically created", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/timeline", "performed_via_github_app": null, "state_reason": null}, "comment": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments/1912728558", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98#issuecomment-1912728558", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98", "id": 1912728558, "node_id": "IC_kwDOLC2AQM5yAevu", "user": {"login": "sonarcloud[bot]", "id": 39514782, "node_id": "MDM6Qm90Mzk1MTQ3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/12526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sonarcloud%5Bbot%5D", "html_url": "https://github.com/apps/sonarcloud", "followers_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/followers", "following_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/repos", "events_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "created_at": "2024-01-26T21:36:54Z", "updated_at": "2024-01-26T21:36:54Z", "author_association": "NONE", "body": "## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=heitorpolidoro_bartholomew-smith&pullRequest=98) **Quality Gate passed** \nThe SonarCloud Quality Gate passed, but some issues were introduced.\n\n[2 New issues](https://sonarcloud.io/project/issues?id=heitorpolidoro_bartholomew-smith&pullRequest=98&resolved=false&inNewCodePeriod=true) \n[0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=heitorpolidoro_bartholomew-smith&pullRequest=98&resolved=false&inNewCodePeriod=true) \n[100.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=heitorpolidoro_bartholomew-smith&pullRequest=98&metric=new_coverage&view=list) \n[0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=heitorpolidoro_bartholomew-smith&pullRequest=98&metric=new_duplicated_lines_density&view=list) \n \n[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=heitorpolidoro_bartholomew-smith&pullRequest=98)\n\n", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments/1912728558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": {"id": 12526, "slug": "sonarcloud", "node_id": "MDM6QXBwMTI1MjY=", "owner": {"login": "SonarSource", "id": 545988, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0NTk4OA==", "avatar_url": "https://avatars.githubusercontent.com/u/545988?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SonarSource", "html_url": "https://github.com/SonarSource", "followers_url": "https://api.github.com/users/SonarSource/followers", "following_url": "https://api.github.com/users/SonarSource/following{/other_user}", "gists_url": "https://api.github.com/users/SonarSource/gists{/gist_id}", "starred_url": "https://api.github.com/users/SonarSource/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SonarSource/subscriptions", "organizations_url": "https://api.github.com/users/SonarSource/orgs", "repos_url": "https://api.github.com/users/SonarSource/repos", "events_url": "https://api.github.com/users/SonarSource/events{/privacy}", "received_events_url": "https://api.github.com/users/SonarSource/received_events", "type": "Organization", "site_admin": false}, "name": "SonarCloud", "description": "[SonarCloud]([https://www.sonarsource.com/products/sonarcloud/](https://www.sonarsource.com/products/sonarcloud/)) enables your development team to deliver Clean Code consistently and efficiently by seamlessly integrating into your cloud DevOps platforms and extending your CI/CD workflow. This SaaS tool catches Security Vulnerabilities, Bugs, and Code Smells in your pull requests, branches, and throughout your repository, with more than 2 billion lines of code and 120,000+ active projects analyzed every week.\r\n\r\nSonarCloud integrates seamlessly into your GitHub workflow and provides clear guidance for resolving any Code Quality and Code Security issues detected. We empower developers and development teams of all sizes to write cleaner and safer code, across 24 programming languages (including Java, JavaScript, TypeScript, C#, Python, C++, and many more). Many popular languages can be analyzed automatically; no configuration is required!\r\n\r\nWith [SonarCloud](https://sonarcloud.io/github), you get:\r\n- Fast, precise static analysis and feedback on your code to develop Clean Code\r\n- Support for popular languages, frameworks, and IaC tools\r\n- Free analysis for open-source projects\r\n- Automatic analysis of pull requests and branches with results reported inline\r\n- IDE Support with [SonarLint](https://www.sonarsource.com/products/sonarlint/) integration\r\n- Quality Gate (added as a GitHub check) acting at two different levels - first, preventing you from merging pull requests that contain issues - and later, helping you to release only clean, safe code\r\n- **A no-commitment, free 14-day trial for your private repositories**\r\n\r\nA [GitHub Action](https://github.com/marketplace/actions/sonarcloud-scan) is available in the marketplace to make it easy for you (for projects where automatic analysis isn't available). SonarCloud also integrates smoothly with Jenkins, CircleCI, TravisCI, CirrusCI, and many other tools.\r\n\r\nYou can start a no-commitment, [14-day trial](https://www.sonarsource.com/products/sonarcloud/signup/) of SonarCloud for your private repositories completely free. No need to speak with a sales rep or request a license key - get automatic code analysis results on your private projects in minutes! SonarCloud analysis is always free for open-source projects.\r\n\r\nWant to see more examples of SonarCloud in action? You can [explore current Open Source projects in SonarCloud](https://sonarcloud.io/explore/projects?sort=-analysis_date) that are using the [Clean as You Code](https://www.sonarsource.com/solutions/our-unique-approach/) methodology.\r\n\r\nWhat are you waiting for? SonarCloud helps you consistently deliver cleaner, safer software that future developers will appreciate and your users will love. Start writing Clean Code. [Now](https://www.sonarsource.com/products/sonarcloud/signup/)!", "external_url": "https://sonarcloud.io", "html_url": "https://github.com/apps/sonarcloud", "created_at": "2018-05-22T07:36:37Z", "updated_at": "2023-08-28T07:20:45Z", "permissions": {"checks": "write", "contents": "read", "emails": "read", "members": "read", "metadata": "read", "pull_requests": "write", "security_events": "write", "statuses": "write"}, "events": ["code_scanning_alert", "organization", "pull_request", "push", "repository"]}}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:35:57Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}, "sender": {"login": "sonarcloud[bot]", "id": 39514782, "node_id": "MDM6Qm90Mzk1MTQ3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/12526?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sonarcloud%5Bbot%5D", "html_url": "https://github.com/apps/sonarcloud", "followers_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/followers", "following_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/repos", "events_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/sonarcloud%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issue_comment.edited.json b/old_payloads/issue_comment.edited.json new file mode 100644 index 0000000..f0f0b78 --- /dev/null +++ b/old_payloads/issue_comment.edited.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "db095fe0-f397-11ee-9d0d-e88d6b1a53f3", "X-Github-Event": "issue_comment", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "7ac92b5a-22d9-46f0-be04-c14b845d4ab5", "Client-Ip": "140.82.115.62:37114", "X-Client-Ip": "140.82.115.62", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.62:37114", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "37114", "Content-Type": "application/json", "Timestamp": "1712354404453", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "12233"}, "data": {"action": "edited", "changes": {"body": {"from": "Analyzing the tasklist [2/8]\n![](https://geps.dev/progress/25?dangerColor=006600&warningColor=006600&successColor=006600)"}}, "issue": {"url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87", "repository_url": "https://api.github.com/repos/heitorpolidoro/issues", "labels_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/events", "html_url": "https://github.com/heitorpolidoro/issues/issues/87", "id": 2066373887, "node_id": "I_kwDOK2k1gs57Klz_", "number": 87, "title": "review labels", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 2, "created_at": "2024-01-04T21:40:48Z", "updated_at": "2024-04-05T22:00:03Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, "body": "- [ ] heitorpolidoro/template#152\n- [ ] heitorpolidoro/issues#89\n- [ ] heitorpolidoro/github-app-handler#91\n- [x] heitorpolidoro/pull-request-generator#66\n- [x] heitorpolidoro/self-approver#21\n- [ ] heitorpolidoro/auto-release-generator#6\n- [ ] heitorpolidoro/github-app-handler#8\n- [x] heitorpolidoro/issues#90", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/timeline", "performed_via_github_app": null, "state_reason": null}, "comment": {"url": "https://api.github.com/repos/heitorpolidoro/issues/issues/comments/2038070282", "html_url": "https://github.com/heitorpolidoro/issues/issues/87#issuecomment-2038070282", "issue_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87", "id": 2038070282, "node_id": "IC_kwDOK2k1gs55enwK", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "created_at": "2024-04-04T19:39:55Z", "updated_at": "2024-04-05T22:00:03Z", "author_association": "NONE", "body": "Analyzing the tasklist [3/8]\n![](https://geps.dev/progress/37?dangerColor=006600&warningColor=006600&successColor=006600)", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/issues/issues/comments/2038070282/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "performed_via_github_app": {"id": 792560, "slug": "bartholomew-smith", "node_id": "A_kwDOAOHtHM4ADBfw", "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}}, "repository": {"id": 728315266, "node_id": "R_kgDOK2k1gg", "name": "issues", "full_name": "heitorpolidoro/issues", "private": true, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/issues", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/issues", "forks_url": "https://api.github.com/repos/heitorpolidoro/issues/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/issues/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/issues/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/issues/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/issues/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/issues/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/issues/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/issues/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/issues/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/issues/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/issues/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/issues/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/issues/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/issues/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/issues/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/issues/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/issues/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/issues/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/issues/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/issues/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/issues/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/issues/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/issues/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/issues/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/issues/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/issues/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/issues/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/issues/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/issues/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/issues/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/issues/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/issues/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/issues/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/issues/deployments", "created_at": "2023-12-06T17:19:51Z", "updated_at": "2023-12-06T17:19:52Z", "pushed_at": "2023-12-20T22:37:19Z", "git_url": "git://github.com/heitorpolidoro/issues.git", "ssh_url": "git@github.com:heitorpolidoro/issues.git", "clone_url": "https://github.com/heitorpolidoro/issues.git", "svn_url": "https://github.com/heitorpolidoro/issues", "homepage": null, "size": 2, "stargazers_count": 0, "watchers_count": 0, "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "private", "forks": 0, "open_issues": 18, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.closed.json b/old_payloads/issues.closed.json new file mode 100644 index 0000000..f7f322e --- /dev/null +++ b/old_payloads/issues.closed.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "7ede5a70-cc52-11ee-84e5-d43fe2be8c2d", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "5582d80e-006d-4203-9892-24fea3d0e21e", "Client-Ip": "140.82.115.246:37746", "X-Client-Ip": "140.82.115.246", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.246:37746", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "37746", "Content-Type": "application/json", "Timestamp": "1708036519183", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9140"}, "data": {"action": "closed", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/193", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/193/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/193/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/193/events", "html_url": "https://github.com/heitorpolidoro/github-app-handler/issues/193", "id": 2137556672, "node_id": "I_kwDOK55OMM5_aIbA", "number": 193, "title": "githubapp/webhook_handler.py", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "labels": [], "state": "closed", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2024-02-15T22:31:34Z", "updated_at": "2024-02-15T22:35:18Z", "closed_at": "2024-02-15T22:35:17Z", "author_association": "OWNER", "active_lock_reason": null, "body": null, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/193/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/193/timeline", "performed_via_github_app": null, "state_reason": "completed"}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-02-15T22:35:17Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 165, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 22, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 22, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.deleted.json b/old_payloads/issues.deleted.json new file mode 100644 index 0000000..d91c450 --- /dev/null +++ b/old_payloads/issues.deleted.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/13bb3ad", "Max-Forwards": "10", "X-Github-Delivery": "089791f0-b4fc-11ee-85b3-1cde3a43d8be", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "a3f3a361-d776-46e1-a791-c7b8dee6c40f", "Client-Ip": "140.82.115.98:22114", "X-Client-Ip": "140.82.115.98", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.98:22114", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "22114", "Content-Type": "application/json", "Timestamp": "1705470507215", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9159"}, "data": {"action": "deleted", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/34", "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/34/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/34/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/34/events", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/issues/34", "id": 2085399721, "node_id": "I_kwDOLC2AQM58TKyp", "number": 34, "title": "title ", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2024-01-17T05:02:27Z", "updated_at": "2024-01-17T05:02:27Z", "closed_at": null, "author_association": "CONTRIBUTOR", "active_lock_reason": null, "body": null, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/34/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/34/timeline", "performed_via_github_app": null, "state_reason": null}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-16T17:20:26Z", "pushed_at": "2024-01-17T05:41:40Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 418, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 24, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 24, "watchers": 1, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.demilestoned.json b/old_payloads/issues.demilestoned.json new file mode 100644 index 0000000..e549368 --- /dev/null +++ b/old_payloads/issues.demilestoned.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/547858f", "Max-Forwards": "10", "X-Github-Delivery": "772024f0-bc8d-11ee-9741-e9ae1ccb96f6", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "cfc80da6-0e05-4dd7-8c97-3df4c1e03a48", "Client-Ip": "140.82.115.243:35374", "X-Client-Ip": "140.82.115.243", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.243:35374", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "35374", "Content-Type": "application/json", "Timestamp": "1706302627892", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "10765"}, "data": {"action": "demilestoned", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/93", "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/93/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/93/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/93/events", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/issues/93", "id": 2102709837, "node_id": "I_kwDOLC2AQM59VM5N", "number": 93, "title": "update version in file", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2024-01-26T18:35:19Z", "updated_at": "2024-01-26T20:57:06Z", "closed_at": null, "author_association": "CONTRIBUTOR", "active_lock_reason": null, "body": null, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/93/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/93/timeline", "performed_via_github_app": null, "state_reason": null}, "milestone": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/milestone/1", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1/labels", "id": 10426311, "node_id": "MI_kwDOLC2AQM4AnxfH", "number": 1, "title": "v0", "description": null, "creator": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "open_issues": 0, "closed_issues": 19, "state": "open", "created_at": "2024-01-16T17:00:32Z", "updated_at": "2024-01-26T20:57:06Z", "due_on": null, "closed_at": null}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T20:56:32Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 17, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 17, "watchers": 1, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.edited-big_list.json b/old_payloads/issues.edited-big_list.json new file mode 100644 index 0000000..d08e2ac --- /dev/null +++ b/old_payloads/issues.edited-big_list.json @@ -0,0 +1,232 @@ +{ + "headers": { + "Host": "127.0.0.1:3333", + "Connection": "keep-alive", + "Accept": "*/*", + "User-Agent": "GitHub-Hookshot/376e7cf", + "Max-Forwards": "10", + "X-Github-Delivery": "2221b6f0-e585-11ee-8d48-ea2c05aceeeb", + "X-Github-Event": "issues", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "X-Arr-Log-Id": "676b7096-b72e-48a4-94ef-38b569306a11", + "Client-Ip": "140.82.115.109:25484", + "X-Client-Ip": "140.82.115.109", + "Disguised-Host": "smee.io", + "X-Site-Deployment-Id": "smee-io-production", + "Was-Default-Hostname": "smee-io-production.azurewebsites.net", + "X-Forwarded-Proto": "https", + "X-Appservice-Proto": "https", + "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", + "X-Forwarded-Tlsversion": "1.3", + "X-Forwarded-For": "140.82.115.109:25484", + "X-Original-Url": "/polidoro-testing", + "X-Waws-Unencoded-Url": "/polidoro-testing", + "X-Client-Port": "25484", + "Content-Type": "application/json", + "Timestamp": "1710807159994", + "Accept-Language": "*", + "Sec-Fetch-Mode": "cors", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "10954" + }, + "data": { + "action": "edited", + "issue": { + "url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/99", + "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-test", + "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/99/labels{/name}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/99/comments", + "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/99/events", + "html_url": "https://github.com/heitorpolidoro/github-app-test/issues/99", + "id": 2139517675, + "node_id": "I_kwDOK3C0Sc5_hnLr", + "number": 5, + "title": "big list", + "user": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 2, + "created_at": "2024-02-16T21:33:07Z", + "updated_at": "2024-03-19T00:10:45Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "body": "- [ ] 1\r\n- [ ] 2\r\n- [ ] 3\r\n- [ ] 4\r\n- [ ] 5\r\n- [ ] 6\r\n- [ ] 7\r\n- [ ] 8\r\n- [ ] 9\r\n- [ ] 10\r\n- [ ] 11\r\n- [ ] 12\r\n- [ ] 13\r\n- [ ] 14\r\n- [ ] 15\r\n- [ ] 16\r\n- [ ] 17\r\n- [ ] 18\r\n- [ ] 19\r\n- [ ] 20\r\n- [ ] 21\r\n- [ ] 22\r\n- [ ] 23\r\n- [ ] 24\r\n- [ ] 25\r\n- [ ] 26\r\n- [ ] 27\r\n- [ ] 28\r\n- [ ] 29\r\n- [ ] 30\r\n- [ ] 31\r\n- [ ] 32\r\n- [ ] 33\r\n- [ ] 34\r\n- [ ] 35\r\n- [ ] 36\r\n- [ ] 37\r\n- [ ] 38\r\n- [ ] 39\r\n- [ ] 40\r\n- [ ] 41\r\n- [ ] 42\r\n- [ ] 43\r\n- [ ] 44\r\n- [ ] 45\r\n- [ ] 46\r\n- [ ] 47\r\n- [ ] 48\r\n- [ ] 49\r\n- [ ] 50\r\n\r\n..", + "reactions": { + "url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/99/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/99/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "changes": { + "body": { + "from": "- [ ] heitorpolidoro/github-app-test#17\r\n- [ ] heitorpolidoro/github-app-test#18\r\n- [ ] heitorpolidoro/github-app-test#19\r\n- [ ] heitorpolidoro/github-app-test#20\r\n- [ ] heitorpolidoro/github-app-test#21\r\n- [ ] heitorpolidoro/github-app-test#22\r\n- [ ] heitorpolidoro/github-app-test#23\r\n- [ ] heitorpolidoro/github-app-test#24\r\n- [ ] heitorpolidoro/github-app-test#25\r\n- [ ] heitorpolidoro/github-app-test#26\r\n- [ ] heitorpolidoro/github-app-test#27\r\n- [ ] heitorpolidoro/github-app-test#28\r\n- [ ] heitorpolidoro/github-app-test#29\r\n- [ ] heitorpolidoro/github-app-test#30\r\n- [ ] heitorpolidoro/github-app-test#31\r\n- [ ] heitorpolidoro/github-app-test#32\r\n- [ ] heitorpolidoro/github-app-test#33\r\n- [ ] heitorpolidoro/github-app-test#34\r\n- [ ] heitorpolidoro/github-app-test#35\r\n- [ ] heitorpolidoro/github-app-test#36\r\n- [ ] heitorpolidoro/github-app-test#37\r\n- [ ] heitorpolidoro/github-app-test#38\r\n- [ ] heitorpolidoro/github-app-test#39\r\n- [ ] heitorpolidoro/github-app-test#40\r\n- [ ] heitorpolidoro/github-app-test#41\r\n- [ ] heitorpolidoro/github-app-test#42\r\n- [ ] 27\r\n- [ ] 28\r\n- [ ] 29\r\n- [ ] 30\r\n- [ ] 31\r\n- [ ] 32\r\n- [ ] 33\r\n- [ ] 34\r\n- [ ] 35\r\n- [ ] 36\r\n- [ ] 37\r\n- [ ] 38\r\n- [ ] 39\r\n- [ ] 40\r\n- [ ] 41\r\n- [ ] 42\r\n- [ ] 43\r\n- [ ] 44\r\n- [ ] 45\r\n- [ ] 46\r\n- [ ] 47\r\n- [ ] 48\r\n- [ ] 49\r\n- [ ] 50\r\n\r\n.." + } + }, + "repository": { + "id": 728806473, + "node_id": "R_kgDOK3C0SQ", + "name": "github-app-test", + "full_name": "heitorpolidoro/github-app-test", + "private": true, + "owner": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/github-app-test", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/github-app-test", + "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-test/deployments", + "created_at": "2023-12-07T18:29:31Z", + "updated_at": "2023-12-07T20:58:38Z", + "pushed_at": "2024-02-21T21:07:57Z", + "git_url": "git://github.com/heitorpolidoro/github-app-test.git", + "ssh_url": "git@github.com:heitorpolidoro/github-app-test.git", + "clone_url": "https://github.com/heitorpolidoro/github-app-test.git", + "svn_url": "https://github.com/heitorpolidoro/github-app-test", + "homepage": "https://github-app-test-eight.vercel.app", + "size": 17, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 45043978, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg=" + } + } +} diff --git a/old_payloads/issues.edited.json b/old_payloads/issues.edited.json new file mode 100644 index 0000000..06c334b --- /dev/null +++ b/old_payloads/issues.edited.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "ddf22090-f39a-11ee-8a17-3c7ede8b43c0", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "e09b4ac5-b5ff-4686-bf5a-082023d808c7", "Client-Ip": "140.82.115.123:49666", "X-Client-Ip": "140.82.115.123", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.123:49666", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "49666", "Content-Type": "application/json", "Timestamp": "1712355697599", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "8966"}, "data": {"action": "edited", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87", "repository_url": "https://api.github.com/repos/heitorpolidoro/issues", "labels_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/events", "html_url": "https://github.com/heitorpolidoro/issues/issues/87", "id": 2066373887, "node_id": "I_kwDOK2k1gs57Klz_", "number": 87, "title": "review labels", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 2, "created_at": "2024-01-04T21:40:48Z", "updated_at": "2024-04-05T22:21:35Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, "body": "- [ ] heitorpolidoro/template#152\n- [ ] heitorpolidoro/issues#89\n- [ ] heitorpolidoro/github-app-handler#91\n- [x] heitorpolidoro/pull-request-generator#66\n- [x] heitorpolidoro/self-approver#21\n- [x] heitorpolidoro/auto-release-generator#6\n- [ ] heitorpolidoro/github-app-handler#8\n- [x] heitorpolidoro/issues#90", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/87/timeline", "performed_via_github_app": null, "state_reason": null}, "changes": {"body": {"from": "- [x] heitorpolidoro/template#152\n- [ ] heitorpolidoro/issues#89\n- [ ] heitorpolidoro/github-app-handler#91\n- [x] heitorpolidoro/pull-request-generator#66\n- [x] heitorpolidoro/self-approver#21\n- [x] heitorpolidoro/auto-release-generator#6\n- [ ] heitorpolidoro/github-app-handler#8\n- [x] heitorpolidoro/issues#90"}}, "repository": {"id": 728315266, "node_id": "R_kgDOK2k1gg", "name": "issues", "full_name": "heitorpolidoro/issues", "private": true, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/issues", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/issues", "forks_url": "https://api.github.com/repos/heitorpolidoro/issues/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/issues/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/issues/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/issues/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/issues/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/issues/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/issues/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/issues/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/issues/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/issues/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/issues/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/issues/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/issues/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/issues/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/issues/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/issues/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/issues/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/issues/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/issues/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/issues/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/issues/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/issues/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/issues/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/issues/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/issues/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/issues/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/issues/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/issues/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/issues/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/issues/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/issues/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/issues/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/issues/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/issues/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/issues/deployments", "created_at": "2023-12-06T17:19:51Z", "updated_at": "2023-12-06T17:19:52Z", "pushed_at": "2023-12-20T22:37:19Z", "git_url": "git://github.com/heitorpolidoro/issues.git", "ssh_url": "git@github.com:heitorpolidoro/issues.git", "clone_url": "https://github.com/heitorpolidoro/issues.git", "svn_url": "https://github.com/heitorpolidoro/issues", "homepage": null, "size": 2, "stargazers_count": 0, "watchers_count": 0, "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "private", "forks": 0, "open_issues": 18, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.labeled.json b/old_payloads/issues.labeled.json new file mode 100644 index 0000000..f42fe92 --- /dev/null +++ b/old_payloads/issues.labeled.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/547858f", "Max-Forwards": "10", "X-Github-Delivery": "28a137e0-bc94-11ee-858d-aa4514ad088b", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "fa5d668f-f622-42ac-9047-45905c971f79", "Client-Ip": "140.82.115.29:49534", "X-Client-Ip": "140.82.115.29", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.29:49534", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "49534", "Content-Type": "application/json", "Timestamp": "1706305502685", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9765"}, "data": {"action": "labeled", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/99", "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/99/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/99/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/99/events", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/issues/99", "id": 2102946185, "node_id": "I_kwDOLC2AQM59WGmJ", "number": 99, "title": "Don't raise if the branch does not have required protected branch rules", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "labels": [{"id": 6411733106, "node_id": "LA_kwDOLC2AQM8AAAABfitIcg", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working"}], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2024-01-26T21:44:53Z", "updated_at": "2024-01-26T21:45:01Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, "body": "https://polidoro.sentry.io/issues/4916711244/?project=4506577521475584&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=0", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/99/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/99/timeline", "performed_via_github_app": null, "state_reason": null}, "label": {"id": 6411733106, "node_id": "LA_kwDOLC2AQM8AAAABfitIcg", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels/bug", "name": "bug", "color": "d73a4a", "default": true, "description": "Something isn't working"}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:38:19Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.milestoned.json b/old_payloads/issues.milestoned.json new file mode 100644 index 0000000..67f4f6d --- /dev/null +++ b/old_payloads/issues.milestoned.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/8a964f1", "Max-Forwards": "10", "X-Github-Delivery": "5e894170-b70f-11ee-8b9a-b58eff30c00b", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "1a05f35f-c206-4fb3-8374-f9448b7b6812", "Client-Ip": "140.82.115.250:25900", "X-Client-Ip": "140.82.115.250", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.250:25900", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "25900", "Content-Type": "application/json", "Timestamp": "1705698714165", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "12366"}, "data": {"action": "milestoned", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/77", "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/77/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/77/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/77/events", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/issues/77", "id": 2091428329, "node_id": "I_kwDOLC2AQM58qKnp", "number": 77, "title": "relative release (major, minor, bugfix/patch)", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/milestone/1", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1/labels", "id": 10426311, "node_id": "MI_kwDOLC2AQM4AnxfH", "number": 1, "title": "v0", "description": null, "creator": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "open_issues": 14, "closed_issues": 9, "state": "open", "created_at": "2024-01-16T17:00:32Z", "updated_at": "2024-01-19T21:11:53Z", "due_on": null, "closed_at": null}, "comments": 0, "created_at": "2024-01-19T21:11:53Z", "updated_at": "2024-01-19T21:11:53Z", "closed_at": null, "author_association": "CONTRIBUTOR", "active_lock_reason": null, "body": null, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/77/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/77/timeline", "performed_via_github_app": null, "state_reason": null}, "milestone": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/milestone/1", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1/labels", "id": 10426311, "node_id": "MI_kwDOLC2AQM4AnxfH", "number": 1, "title": "v0", "description": null, "creator": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "open_issues": 14, "closed_issues": 9, "state": "open", "created_at": "2024-01-16T17:00:32Z", "updated_at": "2024-01-19T21:11:53Z", "due_on": null, "closed_at": null}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-19T14:01:24Z", "pushed_at": "2024-01-19T20:52:34Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 434, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.opened.json b/old_payloads/issues.opened.json new file mode 100644 index 0000000..13a4fad --- /dev/null +++ b/old_payloads/issues.opened.json @@ -0,0 +1,235 @@ +{ + "headers": { + "Host": "127.0.0.1:3333", + "Connection": "keep-alive", + "Accept": "*/*", + "User-Agent": "GitHub-Hookshot/342756e", + "Max-Forwards": "10", + "X-Github-Delivery": "3b337000-cd18-11ee-9e92-19b64892ddcf", + "X-Github-Event": "issues", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "X-Arr-Log-Id": "5694d8bd-6fc7-4437-815a-b34cc08faf1b", + "Client-Ip": "140.82.115.151:38578", + "X-Client-Ip": "140.82.115.151", + "Disguised-Host": "smee.io", + "X-Site-Deployment-Id": "smee-io-production", + "Was-Default-Hostname": "smee-io-production.azurewebsites.net", + "X-Forwarded-Proto": "https", + "X-Appservice-Proto": "https", + "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", + "X-Forwarded-Tlsversion": "1.3", + "X-Forwarded-For": "140.82.115.151:38578", + "X-Original-Url": "/polidoro-testing", + "X-Waws-Unencoded-Url": "/polidoro-testing", + "X-Client-Port": "38578", + "Content-Type": "application/json", + "Timestamp": "1708121445926", + "Accept-Language": "*", + "Sec-Fetch-Mode": "cors", + "Accept-Encoding": "gzip, deflate", + "Content-Length": "9177" + }, + "data": { + "action": "opened", + "issue": { + "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/245", + "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", + "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/245/labels{/name}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/245/comments", + "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/245/events", + "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/issues/245", + "id": 2306052755, + "node_id": "I_kwDOLC2AQM6Jc5KT", + "number": 245, + "title": "[IssueManager] Improvements", + "user": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [ + + ], + "milestone": null, + "comments": 0, + "created_at": "2024-05-20T13:52:04Z", + "updated_at": "2024-05-20T13:52:04Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "body": "- [ ] End to (almost) end tests\n- [ ] Improve the state machine changes", + "reactions": { + "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/245/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/245/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "repository": { + "id": 741179456, + "node_id": "R_kgDOLC2AQA", + "name": "bartholomew-smith", + "full_name": "heitorpolidoro/bartholomew-smith", + "private": false, + "owner": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", + "description": "Your butler for managing your GitHub repositories", + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", + "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", + "created_at": "2024-01-09T21:27:32Z", + "updated_at": "2024-05-17T22:00:25Z", + "pushed_at": "2024-05-17T22:01:47Z", + "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", + "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", + "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", + "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", + "homepage": "https://bartholomew-smith.vercel.app", + "size": 647, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 72, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "github", + "githubapp", + "pull-request" + ], + "visibility": "public", + "forks": 0, + "open_issues": 72, + "watchers": 1, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 45985861, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDU5ODU4NjE=" + } + } +} diff --git a/old_payloads/issues.reopened.json b/old_payloads/issues.reopened.json new file mode 100644 index 0000000..d280171 --- /dev/null +++ b/old_payloads/issues.reopened.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/13bb3ad", "Max-Forwards": "10", "X-Github-Delivery": "b37474f0-b57c-11ee-8582-396ea4a0c2b3", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "5fc7ad28-9b49-4248-979d-36924d174aec", "Client-Ip": "140.82.115.33:22616", "X-Client-Ip": "140.82.115.33", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.33:22616", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "22616", "Content-Type": "application/json", "Timestamp": "1705525769382", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "10746"}, "data": {"action": "reopened", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/21", "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/21/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/21/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/21/events", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/issues/21", "id": 2085301702, "node_id": "I_kwDOLC2AQM58Sy3G", "number": 21, "title": "copy milestone from original issue", "user": {"login": "issue-supervisor[bot]", "id": 155767444, "node_id": "BOT_kgDOCUjSlA", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/issue-supervisor%5Bbot%5D", "html_url": "https://github.com/apps/issue-supervisor", "followers_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/followers", "following_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/repos", "events_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/issue-supervisor%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/milestone/1", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones/1/labels", "id": 10426311, "node_id": "MI_kwDOLC2AQM4AnxfH", "number": 1, "title": "v0", "description": null, "creator": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "open_issues": 15, "closed_issues": 4, "state": "open", "created_at": "2024-01-16T17:00:32Z", "updated_at": "2024-01-17T21:09:28Z", "due_on": null, "closed_at": null}, "comments": 0, "created_at": "2024-01-17T03:03:05Z", "updated_at": "2024-01-17T21:09:28Z", "closed_at": null, "author_association": "NONE", "active_lock_reason": null, "body": "- [x] heitorpolidoro/bartholomew-smith#68\r\n- [ ] heitorpolidoro/bartholomew-smith#69", "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/21/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/21/timeline", "performed_via_github_app": null, "state_reason": "reopened"}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-16T17:20:26Z", "pushed_at": "2024-01-17T20:52:00Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 417, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 19, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 19, "watchers": 1, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/issues.transferred.json b/old_payloads/issues.transferred.json new file mode 100644 index 0000000..6bc96ba --- /dev/null +++ b/old_payloads/issues.transferred.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/547858f", "Max-Forwards": "10", "X-Github-Delivery": "d58c31f2-bc95-11ee-827a-f1cdc88b330c", "X-Github-Event": "issues", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "f6255508-0724-4734-8493-1385812a984b", "Client-Ip": "140.82.115.85:42332", "X-Client-Ip": "140.82.115.85", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.85:42332", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "42332", "Content-Type": "application/json", "Timestamp": "1706306222252", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "17383"}, "data": {"action": "transferred", "issue": {"url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/13", "repository_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator", "labels_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/13/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/13/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/13/events", "html_url": "https://github.com/heitorpolidoro/auto-release-generator/issues/13", "id": 2079652177, "node_id": "I_kwDOK-7Vcc579PlR", "number": 13, "title": "if version to release != regex, fail", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2024-01-12T20:24:03Z", "updated_at": "2024-01-12T20:24:03Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, "body": null, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/13/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/13/timeline", "performed_via_github_app": null, "state_reason": null}, "changes": {"new_issue": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/102", "repository_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/102/labels{/name}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/102/comments", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/102/events", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/issues/102", "id": 2102958128, "node_id": "I_kwDOLC2AQM59WJgw", "number": 102, "title": "if version to release != regex, fail", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "labels": [], "state": "open", "locked": false, "assignee": null, "assignees": [], "milestone": null, "comments": 0, "created_at": "2024-01-12T20:24:03Z", "updated_at": "2024-01-26T21:57:00Z", "closed_at": null, "author_association": "OWNER", "active_lock_reason": null, "body": null, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/102/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "timeline_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/102/timeline", "performed_via_github_app": null, "state_reason": null}, "new_repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:38:19Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 464, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 21, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 21, "watchers": 1, "default_branch": "master"}}, "repository": {"id": 737072497, "node_id": "R_kgDOK-7VcQ", "name": "auto-release-generator", "full_name": "heitorpolidoro/auto-release-generator", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/auto-release-generator", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator", "forks_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/auto-release-generator/deployments", "created_at": "2023-12-29T18:19:37Z", "updated_at": "2024-01-05T14:34:34Z", "pushed_at": "2024-01-17T03:23:21Z", "git_url": "git://github.com/heitorpolidoro/auto-release-generator.git", "ssh_url": "git@github.com:heitorpolidoro/auto-release-generator.git", "clone_url": "https://github.com/heitorpolidoro/auto-release-generator.git", "svn_url": "https://github.com/heitorpolidoro/auto-release-generator", "homepage": "https://auto-release-generator.vercel.app", "size": 27, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 6, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 6, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/label.deleted.json b/old_payloads/label.deleted.json new file mode 100644 index 0000000..d9a43ce --- /dev/null +++ b/old_payloads/label.deleted.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "508363d8-f398-11ee-8173-10c260f27e3a", "X-Github-Event": "label", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "4aa2451f-fb40-4e90-b69a-5f27e9c521c2", "Client-Ip": "140.82.115.160:33892", "X-Client-Ip": "140.82.115.160", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.160:33892", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "33892", "Content-Type": "application/json", "Timestamp": "1712354601434", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "6598"}, "data": {"action": "deleted", "label": {"id": 6347457600, "node_id": "LA_kwDOK8C_dM8AAAABelaEQA", "url": "https://api.github.com/repos/heitorpolidoro/template/labels/sweep", "name": "sweep", "color": "ededed", "default": false, "description": null}, "repository": {"id": 734052212, "node_id": "R_kgDOK8C_dA", "name": "template", "full_name": "heitorpolidoro/template", "private": true, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/template", "description": "Template repo", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/template", "forks_url": "https://api.github.com/repos/heitorpolidoro/template/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/template/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/template/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/template/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/template/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/template/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/template/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/template/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/template/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/template/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/template/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/template/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/template/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/template/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/template/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/template/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/template/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/template/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/template/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/template/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/template/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/template/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/template/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/template/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/template/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/template/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/template/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/template/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/template/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/template/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/template/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/template/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/template/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/template/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/template/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/template/deployments", "created_at": "2023-12-20T18:43:29Z", "updated_at": "2024-01-11T15:12:07Z", "pushed_at": "2024-02-21T21:07:56Z", "git_url": "git://github.com/heitorpolidoro/template.git", "ssh_url": "git@github.com:heitorpolidoro/template.git", "clone_url": "https://github.com/heitorpolidoro/template.git", "svn_url": "https://github.com/heitorpolidoro/template", "homepage": null, "size": 20, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": true, "web_commit_signoff_required": false, "topics": [], "visibility": "private", "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request.auto_merge_disabled.json b/old_payloads/pull_request.auto_merge_disabled.json new file mode 100644 index 0000000..95c8c63 --- /dev/null +++ b/old_payloads/pull_request.auto_merge_disabled.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/45184e4", "Max-Forwards": "10", "X-Github-Delivery": "1eecb5c0-f6bf-11ee-826a-106188fe6a98", "X-Github-Event": "pull_request", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "a5ef635a-1b18-460b-98fe-205ef07178f4", "Client-Ip": "140.82.115.168:27282", "X-Client-Ip": "140.82.115.168", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.168:27282", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "27282", "Content-Type": "application/json", "Timestamp": "1712701122304", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "25265"}, "data": {"action": "auto_merge_disabled", "number": 209, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209", "id": 1814843811, "node_id": "PR_kwDOLC2AQM5sLFGj", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209", "number": 209, "state": "closed", "locked": false, "title": "refactoring", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "Pull Request automatically created", "created_at": "2024-04-09T20:09:18Z", "updated_at": "2024-04-09T22:18:41Z", "closed_at": "2024-04-09T22:18:40Z", "merged_at": null, "merge_commit_sha": "dd341d1c33dde111282ff91618939252e4a44e2e", "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "head": {"label": "heitorpolidoro:refactoring", "ref": "refactoring", "sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 79, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 79, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "be2997cfa174cdce9ac9cf94578682d92b994a8d", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 79, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 79, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d"}}, "author_association": "CONTRIBUTOR", "auto_merge": null, "active_lock_reason": null, "merged": false, "mergeable": true, "rebaseable": false, "mergeable_state": "unstable", "merged_by": null, "comments": 1, "review_comments": 0, "maintainer_can_modify": false, "commits": 2, "additions": 263, "deletions": 205, "changed_files": 6}, "reason": "Pull request was closed", "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 79, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 79, "watchers": 1, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request.auto_merge_enabled.json b/old_payloads/pull_request.auto_merge_enabled.json new file mode 100644 index 0000000..a0c4919 --- /dev/null +++ b/old_payloads/pull_request.auto_merge_enabled.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "8dbc64e0-cd17-11ee-93f3-d73f560fabe5", "X-Github-Event": "pull_request", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "9bf65aec-a750-4761-b60d-73857f33e442", "Client-Ip": "140.82.115.123:24542", "X-Client-Ip": "140.82.115.123", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.123:24542", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "24542", "Content-Type": "application/json", "Timestamp": "1708121155216", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "27534"}, "data": {"action": "auto_merge_enabled", "number": 110, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110", "id": 1730376040, "node_id": "PR_kwDOLC2AQM5nI3Fo", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110", "number": 110, "state": "open", "locked": false, "title": "style: format code with Black and isort", "user": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "This commit fixes the style issues introduced in c9531cb according to the output\nfrom Black and isort.\n\nDetails: None", "created_at": "2024-02-16T22:05:51Z", "updated_at": "2024-02-16T22:05:52Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "71ceda264d6d2c6ea0e04b306c23d8ca3e8b1d70", "assignee": null, "assignees": [], "requested_reviewers": [{"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002", "head": {"label": "heitorpolidoro:deepsource-transform-993c7838", "ref": "deepsource-transform-993c7838", "sha": "0e9418899185706657d9cbfa6358407d6a30c002", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "c9531cbff9297266ad00d71bf09421bada10199e", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002"}}, "author_association": "CONTRIBUTOR", "auto_merge": {"enabled_by": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "merge_method": "squash", "commit_title": null, "commit_message": null}, "active_lock_reason": null, "merged": false, "mergeable": true, "rebaseable": true, "mergeable_state": "unstable", "merged_by": null, "comments": 0, "review_comments": 0, "maintainer_can_modify": false, "commits": 1, "additions": 3, "deletions": 3, "changed_files": 2}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request.closed.json b/old_payloads/pull_request.closed.json new file mode 100644 index 0000000..edb21fc --- /dev/null +++ b/old_payloads/pull_request.closed.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/45184e4", "Max-Forwards": "10", "X-Github-Delivery": "1f0d3610-f6bf-11ee-94a6-f8c1aec10db6", "X-Github-Event": "pull_request", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "c2f640b0-1961-430d-8735-2d562a322f9c", "Client-Ip": "140.82.115.123:42868", "X-Client-Ip": "140.82.115.123", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.123:42868", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "42868", "Content-Type": "application/json", "Timestamp": "1712701122526", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "25088"}, "data": {"action": "closed", "number": 209, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209", "id": 1814843811, "node_id": "PR_kwDOLC2AQM5sLFGj", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209", "number": 209, "state": "closed", "locked": false, "title": "refactoring", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "Pull Request automatically created", "created_at": "2024-04-09T20:09:18Z", "updated_at": "2024-04-09T22:18:41Z", "closed_at": "2024-04-09T22:18:40Z", "merged_at": null, "merge_commit_sha": "dd341d1c33dde111282ff91618939252e4a44e2e", "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "head": {"label": "heitorpolidoro:refactoring", "ref": "refactoring", "sha": "9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 79, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 79, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "be2997cfa174cdce9ac9cf94578682d92b994a8d", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 79, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 79, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/209"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/209/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/209/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/9c5ff00902aeafd6fa1c3ccb6fbc44dd5409578d"}}, "author_association": "CONTRIBUTOR", "auto_merge": null, "active_lock_reason": null, "merged": false, "mergeable": true, "rebaseable": false, "mergeable_state": "unstable", "merged_by": null, "comments": 1, "review_comments": 0, "maintainer_can_modify": false, "commits": 2, "additions": 263, "deletions": 205, "changed_files": 6}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-09T20:09:30Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 540, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 79, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 79, "watchers": 1, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request.edited.json b/old_payloads/pull_request.edited.json new file mode 100644 index 0000000..751a02c --- /dev/null +++ b/old_payloads/pull_request.edited.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/626b748", "Max-Forwards": "10", "X-Github-Delivery": "01f78bb0-b76e-11ee-8be9-a2e7e1a89571", "X-Github-Event": "pull_request", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "be1a9e1c-72c6-4e96-ac32-1df748efb39a", "Client-Ip": "140.82.115.27:44940", "X-Client-Ip": "140.82.115.27", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.27:44940", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "44940", "Content-Type": "application/json", "Timestamp": "1705739361441", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "26253"}, "data": {"action": "edited", "number": 16, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/16", "id": 1673492328, "node_id": "PR_kwDOKN-XVM5jv3do", "html_url": "https://github.com/heitorpolidoro/heitorpolidoro/pull/16", "diff_url": "https://github.com/heitorpolidoro/heitorpolidoro/pull/16.diff", "patch_url": "https://github.com/heitorpolidoro/heitorpolidoro/pull/16.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/16", "number": 16, "state": "open", "locked": false, "title": "imgbot", "user": {"login": "pull-request-generator[bot]", "id": 154367446, "node_id": "BOT_kgDOCTN11g", "avatar_url": "https://avatars.githubusercontent.com/in/721459?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pull-request-generator%5Bbot%5D", "html_url": "https://github.com/apps/pull-request-generator", "followers_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/followers", "following_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/repos", "events_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/pull-request-generator%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "## Beep boop. Your images are optimized!\r\n\r\nYour image file size has been reduced by **13%** \ud83c\udf89\r\n\r\n
\r\n\r\nDetails\r\n\r\n\r\n| File | Before | After | Percent reduction |\r\n|:--|:--|:--|:--|\r\n| /metrics/metrics.achievements.svg | 62.91kb | 39.30kb | 37.53% |\r\n| /metrics/metrics.activity.svg | 17.31kb | 11.16kb | 35.50% |\r\n| /metrics/metrics.languages.svg | 7.53kb | 5.33kb | 29.27% |\r\n| /metrics/metrics.followup.svg | 21.93kb | 16.35kb | 25.44% |\r\n| /metrics/metrics.leetcode.svg | 10.68kb | 8.14kb | 23.76% |\r\n| /metrics/metrics.stackoverflow.svg | 6.39kb | 5.19kb | 18.91% |\r\n| /metrics/metrics.sponsor.svg | 3.70kb | 3.26kb | 11.98% |\r\n| /metrics/metrics.overall.svg | 239.28kb | 233.42kb | 2.45% |\r\n| | | | |\r\n| **Total :** | **369.74kb** | **322.15kb** | **12.87%** |\r\n
\r\n\r\n---\r\n\r\n[\ud83d\udcdd docs](https://imgbot.net/docs) | [:octocat: repo](https://github.com/imgbot/ImgBot) | [\ud83d\ude4b\ud83c\udffe issues](https://github.com/imgbot/ImgBot/issues) | [\ud83c\udfea marketplace](https://github.com/marketplace/imgbot)\r\n\r\n~Imgbot - Part of [Optimole](https://optimole.com/) family\r\n", "created_at": "2024-01-11T01:47:21Z", "updated_at": "2024-01-20T08:29:19Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "4024f4044216abfa0f72900f633678bb9263396e", "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/16/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/16/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/16/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/statuses/2dff8d088b167be98c1a124e3c4075976bea9d7e", "head": {"label": "heitorpolidoro:imgbot", "ref": "imgbot", "sha": "2dff8d088b167be98c1a124e3c4075976bea9d7e", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 685741908, "node_id": "R_kgDOKN-XVA", "name": "heitorpolidoro", "full_name": "heitorpolidoro/heitorpolidoro", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/heitorpolidoro", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro", "forks_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/deployments", "created_at": "2023-08-31T22:55:13Z", "updated_at": "2023-09-13T20:28:40Z", "pushed_at": "2024-01-20T08:28:59Z", "git_url": "git://github.com/heitorpolidoro/heitorpolidoro.git", "ssh_url": "git@github.com:heitorpolidoro/heitorpolidoro.git", "clone_url": "https://github.com/heitorpolidoro/heitorpolidoro.git", "svn_url": "https://github.com/heitorpolidoro/heitorpolidoro", "homepage": null, "size": 2260, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": false, "allow_rebase_merge": false, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "1e82b88d9907d8d01278974d523d76e2629fe861", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 685741908, "node_id": "R_kgDOKN-XVA", "name": "heitorpolidoro", "full_name": "heitorpolidoro/heitorpolidoro", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/heitorpolidoro", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro", "forks_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/deployments", "created_at": "2023-08-31T22:55:13Z", "updated_at": "2023-09-13T20:28:40Z", "pushed_at": "2024-01-20T08:28:59Z", "git_url": "git://github.com/heitorpolidoro/heitorpolidoro.git", "ssh_url": "git@github.com:heitorpolidoro/heitorpolidoro.git", "clone_url": "https://github.com/heitorpolidoro/heitorpolidoro.git", "svn_url": "https://github.com/heitorpolidoro/heitorpolidoro", "homepage": null, "size": 2260, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": false, "allow_rebase_merge": false, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/16"}, "html": {"href": "https://github.com/heitorpolidoro/heitorpolidoro/pull/16"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/16"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/16/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/16/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls/16/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/statuses/2dff8d088b167be98c1a124e3c4075976bea9d7e"}}, "author_association": "CONTRIBUTOR", "auto_merge": null, "active_lock_reason": null, "merged": false, "mergeable": true, "rebaseable": true, "mergeable_state": "unstable", "merged_by": null, "comments": 1, "review_comments": 0, "maintainer_can_modify": false, "commits": 1, "additions": 8, "deletions": 1524, "changed_files": 8}, "changes": {"body": {"from": "## Beep boop. Your images are optimized!\r\n\r\nYour image file size has been reduced by **13%** \ud83c\udf89\r\n\r\n
\r\n\r\nDetails\r\n\r\n\r\n| File | Before | After | Percent reduction |\r\n|:--|:--|:--|:--|\r\n| /metrics/metrics.activity.svg | 17.04kb | 10.50kb | 38.38% |\r\n| /metrics/metrics.achievements.svg | 62.91kb | 39.30kb | 37.53% |\r\n| /metrics/metrics.languages.svg | 7.54kb | 5.33kb | 29.32% |\r\n| /metrics/metrics.followup.svg | 21.94kb | 16.36kb | 25.44% |\r\n| /metrics/metrics.leetcode.svg | 10.67kb | 8.14kb | 23.68% |\r\n| /metrics/metrics.stackoverflow.svg | 6.39kb | 5.19kb | 18.91% |\r\n| /metrics/metrics.sponsor.svg | 3.70kb | 3.26kb | 11.98% |\r\n| /metrics/metrics.overall.svg | 239.28kb | 233.42kb | 2.45% |\r\n| | | | |\r\n| **Total :** | **369.46kb** | **321.49kb** | **12.99%** |\r\n
\r\n\r\n---\r\n\r\n[\ud83d\udcdd docs](https://imgbot.net/docs) | [:octocat: repo](https://github.com/imgbot/ImgBot) | [\ud83d\ude4b\ud83c\udffe issues](https://github.com/imgbot/ImgBot/issues) | [\ud83c\udfea marketplace](https://github.com/marketplace/imgbot)\r\n\r\n~Imgbot - Part of [Optimole](https://optimole.com/) family\r\n"}}, "repository": {"id": 685741908, "node_id": "R_kgDOKN-XVA", "name": "heitorpolidoro", "full_name": "heitorpolidoro/heitorpolidoro", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/heitorpolidoro", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro", "forks_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/heitorpolidoro/deployments", "created_at": "2023-08-31T22:55:13Z", "updated_at": "2023-09-13T20:28:40Z", "pushed_at": "2024-01-20T08:28:59Z", "git_url": "git://github.com/heitorpolidoro/heitorpolidoro.git", "ssh_url": "git@github.com:heitorpolidoro/heitorpolidoro.git", "clone_url": "https://github.com/heitorpolidoro/heitorpolidoro.git", "svn_url": "https://github.com/heitorpolidoro/heitorpolidoro", "homepage": null, "size": 2260, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master"}, "sender": {"login": "imgbot[bot]", "id": 31301654, "node_id": "MDM6Qm90MzEzMDE2NTQ=", "avatar_url": "https://avatars.githubusercontent.com/in/4706?v=4", "gravatar_id": "", "url": "https://api.github.com/users/imgbot%5Bbot%5D", "html_url": "https://github.com/apps/imgbot", "followers_url": "https://api.github.com/users/imgbot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/imgbot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/imgbot%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/imgbot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/imgbot%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/imgbot%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/imgbot%5Bbot%5D/repos", "events_url": "https://api.github.com/users/imgbot%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/imgbot%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request.opened.json b/old_payloads/pull_request.opened.json new file mode 100644 index 0000000..b841c22 --- /dev/null +++ b/old_payloads/pull_request.opened.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "8cd2a120-cd17-11ee-9d6a-5bc7e2333703", "X-Github-Event": "pull_request", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "658c4f71-337f-440d-ae69-adac98303f8d", "Client-Ip": "140.82.115.89:35800", "X-Client-Ip": "140.82.115.89", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.89:35800", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "35800", "Content-Type": "application/json", "Timestamp": "1708121153792", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "26314"}, "data": {"action": "opened", "number": 110, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110", "id": 1730376040, "node_id": "PR_kwDOLC2AQM5nI3Fo", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110", "number": 110, "state": "open", "locked": false, "title": "style: format code with Black and isort", "user": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "This commit fixes the style issues introduced in c9531cb according to the output\nfrom Black and isort.\n\nDetails: None", "created_at": "2024-02-16T22:05:51Z", "updated_at": "2024-02-16T22:05:52Z", "closed_at": null, "merged_at": null, "merge_commit_sha": null, "assignee": null, "assignees": [], "requested_reviewers": [{"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002", "head": {"label": "heitorpolidoro:deepsource-transform-993c7838", "ref": "deepsource-transform-993c7838", "sha": "0e9418899185706657d9cbfa6358407d6a30c002", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "c9531cbff9297266ad00d71bf09421bada10199e", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002"}}, "author_association": "CONTRIBUTOR", "auto_merge": null, "active_lock_reason": null, "merged": false, "mergeable": null, "rebaseable": null, "mergeable_state": "unknown", "merged_by": null, "comments": 0, "review_comments": 0, "maintainer_can_modify": false, "commits": 1, "additions": 3, "deletions": 3, "changed_files": 2}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request.review_requested.json b/old_payloads/pull_request.review_requested.json new file mode 100644 index 0000000..f3f8155 --- /dev/null +++ b/old_payloads/pull_request.review_requested.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "8ce083d0-cd17-11ee-9fcc-dd14294ddcb8", "X-Github-Event": "pull_request", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "cb2972aa-7dcc-4f33-aab9-786d0b5d77b1", "Client-Ip": "140.82.115.169:17824", "X-Client-Ip": "140.82.115.169", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.169:17824", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "17824", "Content-Type": "application/json", "Timestamp": "1708121153798", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "27364"}, "data": {"action": "review_requested", "number": 110, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110", "id": 1730376040, "node_id": "PR_kwDOLC2AQM5nI3Fo", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110", "number": 110, "state": "open", "locked": false, "title": "style: format code with Black and isort", "user": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "This commit fixes the style issues introduced in c9531cb according to the output\nfrom Black and isort.\n\nDetails: None", "created_at": "2024-02-16T22:05:51Z", "updated_at": "2024-02-16T22:05:52Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "71ceda264d6d2c6ea0e04b306c23d8ca3e8b1d70", "assignee": null, "assignees": [], "requested_reviewers": [{"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002", "head": {"label": "heitorpolidoro:deepsource-transform-993c7838", "ref": "deepsource-transform-993c7838", "sha": "0e9418899185706657d9cbfa6358407d6a30c002", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "c9531cbff9297266ad00d71bf09421bada10199e", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002"}}, "author_association": "CONTRIBUTOR", "auto_merge": null, "active_lock_reason": null, "merged": false, "mergeable": true, "rebaseable": true, "mergeable_state": "unstable", "merged_by": null, "comments": 0, "review_comments": 0, "maintainer_can_modify": false, "commits": 1, "additions": 3, "deletions": 3, "changed_files": 2}, "requested_reviewer": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request.synchronize.json b/old_payloads/pull_request.synchronize.json new file mode 100644 index 0000000..0b44d28 --- /dev/null +++ b/old_payloads/pull_request.synchronize.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/547858f", "Max-Forwards": "10", "X-Github-Delivery": "e4280860-bc92-11ee-8575-adef9f3c7cef", "X-Github-Event": "pull_request", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "ea4d9737-d324-4dcf-9441-9da5a760f69f", "Client-Ip": "140.82.115.26:27530", "X-Client-Ip": "140.82.115.26", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.26:27530", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "27530", "Content-Type": "application/json", "Timestamp": "1706304958590", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "26486"}, "data": {"action": "synchronize", "number": 98, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98", "id": 1697801568, "node_id": "PR_kwDOLC2AQM5lMmVg", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98", "number": 98, "state": "open", "locked": false, "title": "deepsource", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "Pull Request automatically created", "created_at": "2024-01-26T21:21:51Z", "updated_at": "2024-01-26T21:35:57Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "c4d1ccc44471c208af4cb417f809eece9ed1588e", "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/20f51bc9b7f2bfb94c0b3c8c9b392ac807957181", "head": {"label": "heitorpolidoro:deepsource", "ref": "deepsource", "sha": "20f51bc9b7f2bfb94c0b3c8c9b392ac807957181", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:35:55Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "f8dbf6e5c16834873e10ab3c8837ece850490407", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:35:55Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/20f51bc9b7f2bfb94c0b3c8c9b392ac807957181"}}, "author_association": "CONTRIBUTOR", "auto_merge": {"enabled_by": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "merge_method": "squash", "commit_title": null, "commit_message": null}, "active_lock_reason": null, "merged": false, "mergeable": null, "rebaseable": null, "mergeable_state": "unknown", "merged_by": null, "comments": 2, "review_comments": 0, "maintainer_can_modify": false, "commits": 8, "additions": 113, "deletions": 12, "changed_files": 8}, "before": "5829a79fabfd57c775dbb6cc99531e7bba5ae311", "after": "20f51bc9b7f2bfb94c0b3c8c9b392ac807957181", "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:35:55Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request_review.dismissed.json b/old_payloads/pull_request_review.dismissed.json new file mode 100644 index 0000000..bafafa2 --- /dev/null +++ b/old_payloads/pull_request_review.dismissed.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/547858f", "Max-Forwards": "10", "X-Github-Delivery": "db931280-bc92-11ee-8d90-8a0ff53f1f42", "X-Github-Event": "pull_request_review", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "affaa41b-55cf-4136-bbb3-6849ae5891e0", "Client-Ip": "140.82.115.60:27270", "X-Client-Ip": "140.82.115.60", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.60:27270", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "27270", "Content-Type": "application/json", "Timestamp": "1706304944116", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "27758"}, "data": {"action": "dismissed", "review": {"id": 1846585019, "node_id": "PRR_kwDOLC2AQM5uEKa7", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "body": "", "commit_id": "4c593c159c30b2a232dd3e69e5fa9667e7af907d", "submitted_at": "2024-01-26T21:34:27Z", "state": "dismissed", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98#pullrequestreview-1846585019", "pull_request_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98", "author_association": "OWNER", "_links": {"html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98#pullrequestreview-1846585019"}, "pull_request": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98"}}}, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98", "id": 1697801568, "node_id": "PR_kwDOLC2AQM5lMmVg", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98", "number": 98, "state": "open", "locked": false, "title": "deepsource", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "Pull Request automatically created", "created_at": "2024-01-26T21:21:51Z", "updated_at": "2024-01-26T21:35:42Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "c4d1ccc44471c208af4cb417f809eece9ed1588e", "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/5829a79fabfd57c775dbb6cc99531e7bba5ae311", "head": {"label": "heitorpolidoro:deepsource", "ref": "deepsource", "sha": "5829a79fabfd57c775dbb6cc99531e7bba5ae311", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:35:41Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "f8dbf6e5c16834873e10ab3c8837ece850490407", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:35:41Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": false, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/98"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/98/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/98/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/5829a79fabfd57c775dbb6cc99531e7bba5ae311"}}, "author_association": "CONTRIBUTOR", "auto_merge": {"enabled_by": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "merge_method": "squash", "commit_title": null, "commit_message": null}, "active_lock_reason": null}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-01-26T21:35:41Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 453, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request_review.submitted.json b/old_payloads/pull_request_review.submitted.json new file mode 100644 index 0000000..015fa36 --- /dev/null +++ b/old_payloads/pull_request_review.submitted.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "92319950-cd17-11ee-93c4-f407b86df745", "X-Github-Event": "pull_request_review", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "439dfa57-c494-4de3-b6f0-c47564ffac64", "Client-Ip": "140.82.115.246:55936", "X-Client-Ip": "140.82.115.246", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.246:55936", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "55936", "Content-Type": "application/json", "Timestamp": "1708121162549", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "28805"}, "data": {"action": "submitted", "review": {"id": 1886139494, "node_id": "PRR_kwDOLC2AQM5wbDRm", "user": {"login": "prplex[bot]", "id": 138089423, "node_id": "BOT_kgDOCDsTzw", "avatar_url": "https://avatars.githubusercontent.com/in/353986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prplex%5Bbot%5D", "html_url": "https://github.com/apps/prplex", "followers_url": "https://api.github.com/users/prplex%5Bbot%5D/followers", "following_url": "https://api.github.com/users/prplex%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/prplex%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/prplex%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prplex%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/prplex%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/prplex%5Bbot%5D/repos", "events_url": "https://api.github.com/users/prplex%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/prplex%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "Review completed. No issues found.", "commit_id": "0e9418899185706657d9cbfa6358407d6a30c002", "submitted_at": "2024-02-16T22:06:01Z", "state": "commented", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110#pullrequestreview-1886139494", "pull_request_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110", "author_association": "NONE", "_links": {"html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110#pullrequestreview-1886139494"}, "pull_request": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110"}}}, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110", "id": 1730376040, "node_id": "PR_kwDOLC2AQM5nI3Fo", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110", "number": 110, "state": "open", "locked": false, "title": "style: format code with Black and isort", "user": {"login": "deepsource-autofix[bot]", "id": 62050782, "node_id": "MDM6Qm90NjIwNTA3ODI=", "avatar_url": "https://avatars.githubusercontent.com/in/57168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-autofix", "followers_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-autofix%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "This commit fixes the style issues introduced in c9531cb according to the output\nfrom Black and isort.\n\nDetails: None", "created_at": "2024-02-16T22:05:51Z", "updated_at": "2024-02-16T22:06:01Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "71ceda264d6d2c6ea0e04b306c23d8ca3e8b1d70", "assignee": null, "assignees": [], "requested_reviewers": [{"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002", "head": {"label": "heitorpolidoro:deepsource-transform-993c7838", "ref": "deepsource-transform-993c7838", "sha": "0e9418899185706657d9cbfa6358407d6a30c002", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "c9531cbff9297266ad00d71bf09421bada10199e", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/110"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/110/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/110/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/0e9418899185706657d9cbfa6358407d6a30c002"}}, "author_association": "CONTRIBUTOR", "auto_merge": {"enabled_by": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "merge_method": "squash", "commit_title": null, "commit_message": null}, "active_lock_reason": null}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-02-16T22:05:52Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 481, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 28, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 28, "watchers": 1, "default_branch": "master"}, "sender": {"login": "prplex[bot]", "id": 138089423, "node_id": "BOT_kgDOCDsTzw", "avatar_url": "https://avatars.githubusercontent.com/in/353986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prplex%5Bbot%5D", "html_url": "https://github.com/apps/prplex", "followers_url": "https://api.github.com/users/prplex%5Bbot%5D/followers", "following_url": "https://api.github.com/users/prplex%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/prplex%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/prplex%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prplex%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/prplex%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/prplex%5Bbot%5D/repos", "events_url": "https://api.github.com/users/prplex%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/prplex%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request_review_comment.created.json b/old_payloads/pull_request_review_comment.created.json new file mode 100644 index 0000000..c979768 --- /dev/null +++ b/old_payloads/pull_request_review_comment.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "55fe7c70-cc52-11ee-992f-6d45836d34ba", "X-Github-Event": "pull_request_review_comment", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "77143ea0-0087-411a-a24b-93acf7b2e1c8", "Client-Ip": "140.82.115.49:57066", "X-Client-Ip": "140.82.115.49", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.49:57066", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "57066", "Content-Type": "application/json", "Timestamp": "1708036450649", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "28697"}, "data": {"action": "created", "comment": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/comments/1491745825", "pull_request_review_id": 1884004656, "id": 1491745825, "node_id": "PRRC_kwDOK55OMM5Y6jwh", "diff_hunk": "@@ -1,4 +1,6 @@\n -r requirements.txt\n -r requirements.test.txt\n-pytest-xdist==3.5.0\n-black==23.12.1\n+pytest-xdist\n+black\n+isort", "path": "requirements.dev.txt", "commit_id": "21b603757e404d29b6df795e3eec46a68e2eccce", "original_commit_id": "21b603757e404d29b6df795e3eec46a68e2eccce", "user": {"login": "prplex[bot]", "id": 138089423, "node_id": "BOT_kgDOCDsTzw", "avatar_url": "https://avatars.githubusercontent.com/in/353986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prplex%5Bbot%5D", "html_url": "https://github.com/apps/prplex", "followers_url": "https://api.github.com/users/prplex%5Bbot%5D/followers", "following_url": "https://api.github.com/users/prplex%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/prplex%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/prplex%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prplex%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/prplex%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/prplex%5Bbot%5D/repos", "events_url": "https://api.github.com/users/prplex%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/prplex%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "Nice to see that you added isort and mypy modules for better code hygiene and static typing. However, kindly specify the version to create a stable development environment.", "created_at": "2024-02-15T22:34:09Z", "updated_at": "2024-02-15T22:34:09Z", "html_url": "https://github.com/heitorpolidoro/github-app-handler/pull/194#discussion_r1491745825", "pull_request_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194", "author_association": "NONE", "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/comments/1491745825"}, "html": {"href": "https://github.com/heitorpolidoro/github-app-handler/pull/194#discussion_r1491745825"}, "pull_request": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194"}}, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/comments/1491745825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "start_line": null, "original_start_line": null, "start_side": null, "line": 5, "original_line": 5, "side": "RIGHT", "original_position": 7, "position": 7, "subject_type": "line"}, "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194", "id": 1728585299, "node_id": "PR_kwDOK55OMM5nCB5T", "html_url": "https://github.com/heitorpolidoro/github-app-handler/pull/194", "diff_url": "https://github.com/heitorpolidoro/github-app-handler/pull/194.diff", "patch_url": "https://github.com/heitorpolidoro/github-app-handler/pull/194.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/194", "number": 194, "state": "open", "locked": false, "title": "githubapp/webhook_handler.py", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "### [githubapp/webhook_handler.py](https://github.com/heitorpolidoro/github-app-handler/issues/193)\n\n\n\nCloses #193\n\n", "created_at": "2024-02-15T22:33:35Z", "updated_at": "2024-02-15T22:34:09Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "df2a45234b1a90353991111a67826c6fccb20739", "assignee": null, "assignees": [], "requested_reviewers": [], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/194/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/21b603757e404d29b6df795e3eec46a68e2eccce", "head": {"label": "heitorpolidoro:issue-193", "ref": "issue-193", "sha": "21b603757e404d29b6df795e3eec46a68e2eccce", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-02-15T22:33:36Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 165, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 24, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 24, "watchers": 0, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": false, "allow_rebase_merge": false, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "701abe67513145b588b724f3523bc4a7bdd932fb", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-02-15T22:33:36Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 165, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 24, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 24, "watchers": 0, "default_branch": "master", "allow_squash_merge": true, "allow_merge_commit": false, "allow_rebase_merge": false, "allow_auto_merge": true, "delete_branch_on_merge": true, "allow_update_branch": true, "use_squash_pr_title_as_default": false, "squash_merge_commit_message": "COMMIT_MESSAGES", "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", "merge_commit_message": "PR_TITLE", "merge_commit_title": "MERGE_MESSAGE"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194"}, "html": {"href": "https://github.com/heitorpolidoro/github-app-handler/pull/194"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/194"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/194/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls/194/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/21b603757e404d29b6df795e3eec46a68e2eccce"}}, "author_association": "CONTRIBUTOR", "auto_merge": {"enabled_by": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "merge_method": "squash", "commit_title": null, "commit_message": null}, "active_lock_reason": null}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-02-15T22:33:36Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 165, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 24, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 24, "watchers": 0, "default_branch": "master"}, "sender": {"login": "prplex[bot]", "id": 138089423, "node_id": "BOT_kgDOCDsTzw", "avatar_url": "https://avatars.githubusercontent.com/in/353986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prplex%5Bbot%5D", "html_url": "https://github.com/apps/prplex", "followers_url": "https://api.github.com/users/prplex%5Bbot%5D/followers", "following_url": "https://api.github.com/users/prplex%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/prplex%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/prplex%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prplex%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/prplex%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/prplex%5Bbot%5D/repos", "events_url": "https://api.github.com/users/prplex%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/prplex%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/pull_request_review_thread.resolved.json b/old_payloads/pull_request_review_thread.resolved.json new file mode 100644 index 0000000..60ab314 --- /dev/null +++ b/old_payloads/pull_request_review_thread.resolved.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/8a964f1", "Max-Forwards": "10", "X-Github-Delivery": "ae0a09f0-b70f-11ee-8f68-29d84b2714d0", "X-Github-Event": "pull_request_review_thread", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "d7ce3eea-2601-49c9-8f5c-6ae5091f5c7d", "Client-Ip": "140.82.115.46:53824", "X-Client-Ip": "140.82.115.46", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.46:53824", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "53824", "Content-Type": "application/json", "Timestamp": "1705698847450", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "29140"}, "data": {"action": "resolved", "pull_request": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78", "id": 1687655795, "node_id": "PR_kwDOLC2AQM5kl5Vz", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/78", "diff_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/78.diff", "patch_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/78.patch", "issue_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/78", "number": 78, "state": "open", "locked": false, "title": "release without configuration (from releases)", "user": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "### [release without configuration (from releases)\r](https://github.com/heitorpolidoro/bartholomew-smith/issues/22)\n\n\n\nCloses #22\n\n", "created_at": "2024-01-19T21:12:50Z", "updated_at": "2024-01-19T21:13:11Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "037ef106e536d31fdeea516c39a074608c28f962", "assignee": null, "assignees": [], "requested_reviewers": [{"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}], "requested_teams": [], "labels": [], "milestone": null, "draft": false, "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78/commits", "review_comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78/comments", "review_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/78/comments", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/15b35f0776afcb70b3b07d68bdda3a3ba7f192c6", "head": {"label": "heitorpolidoro:issue-22", "ref": "issue-22", "sha": "15b35f0776afcb70b3b07d68bdda3a3ba7f192c6", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-19T14:01:24Z", "pushed_at": "2024-01-19T21:13:46Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 434, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}}, "base": {"label": "heitorpolidoro:master", "ref": "master", "sha": "fddc337a500a9dd53a0926db8d6a411b113dd969", "user": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "repo": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-19T14:01:24Z", "pushed_at": "2024-01-19T21:13:46Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 434, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}}, "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/78"}, "issue": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/78"}, "comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/78/comments"}, "review_comments": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78/comments"}, "review_comment": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments{/number}"}, "commits": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78/commits"}, "statuses": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/15b35f0776afcb70b3b07d68bdda3a3ba7f192c6"}}, "author_association": "CONTRIBUTOR", "auto_merge": {"enabled_by": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "merge_method": "squash", "commit_title": null, "commit_message": null}, "active_lock_reason": null}, "thread": {"node_id": "PRRT_kwDOLC2AQM43l85Q", "comments": [{"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments/1459782238", "pull_request_review_id": 1833737448, "id": 1459782238, "node_id": "PRRC_kwDOLC2AQM5XAoJe", "diff_hunk": "@@ -33,12 +33,16 @@ def test_handle_release_when_there_is_a_command(event, repository, pull_request)\n )\n \n \n-def test_handle_release_when_head_branch_is_the_default_branch(event, repository, pull_request):\n+def test_handle_release_when_head_branch_is_the_default_branch(\n+ event, repository, pull_request\n+):", "path": "tests/managers/test_release.py", "commit_id": "15b35f0776afcb70b3b07d68bdda3a3ba7f192c6", "original_commit_id": "15b35f0776afcb70b3b07d68bdda3a3ba7f192c6", "user": {"login": "prplex[bot]", "id": 138089423, "node_id": "BOT_kgDOCDsTzw", "avatar_url": "https://avatars.githubusercontent.com/in/353986?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prplex%5Bbot%5D", "html_url": "https://github.com/apps/prplex", "followers_url": "https://api.github.com/users/prplex%5Bbot%5D/followers", "following_url": "https://api.github.com/users/prplex%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/prplex%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/prplex%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prplex%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/prplex%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/prplex%5Bbot%5D/repos", "events_url": "https://api.github.com/users/prplex%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/prplex%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "body": "The handle_release(event) function call result was not asserted. If the test expects a certain result from the call, please add an assert statement.", "created_at": "2024-01-19T21:13:11Z", "updated_at": "2024-01-19T21:13:11Z", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/pull/78#discussion_r1459782238", "pull_request_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78", "author_association": "NONE", "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments/1459782238"}, "html": {"href": "https://github.com/heitorpolidoro/bartholomew-smith/pull/78#discussion_r1459782238"}, "pull_request": {"href": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/78"}}, "reactions": {"url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls/comments/1459782238/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0}, "start_line": null, "original_start_line": null, "start_side": null, "line": 38, "original_line": 38, "side": "RIGHT", "original_position": 7, "position": 7, "subject_type": "line"}]}, "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-19T14:01:24Z", "pushed_at": "2024-01-19T21:13:46Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 434, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 18, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 18, "watchers": 1, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/push.json b/old_payloads/push.json new file mode 100644 index 0000000..3ba2c4f --- /dev/null +++ b/old_payloads/push.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "2391be5c-f397-11ee-9392-05c4fb92d063", "X-Github-Event": "push", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "449184d3-16a0-4e0c-b4b6-5b3a7ccfc197", "Client-Ip": "140.82.115.161:61580", "X-Client-Ip": "140.82.115.161", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.161:61580", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "61580", "Content-Type": "application/json", "Timestamp": "1712354096309", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9210"}, "data": {"ref": "refs/tags/0.24.0", "before": "0000000000000000000000000000000000000000", "after": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"name": "heitorpolidoro", "email": "heitor.polidoro@gmail.com", "login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://github.com/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": 1702593344, "updated_at": "2023-12-19T20:54:54Z", "pushed_at": 1712354095, "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master", "stargazers": 0, "master_branch": "master"}, "pusher": {"name": "bartholomew-smith[bot]", "email": null}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}, "created": true, "deleted": false, "forced": false, "base_ref": "refs/heads/master", "compare": "https://github.com/heitorpolidoro/github-app-handler/compare/0.24.0", "commits": [], "head_commit": {"id": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "tree_id": "53498ee9910f1cb5befaa4004151f2a13e26211e", "distinct": true, "message": "test_event (#203)\n\n* feat(Event): test\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 77ab8c3 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* [release:minor]\n\n* fix(Test): rename\n\n* chore(Test): remove kwargs: dict\n\n* chore(Test): dict -> dict[str,str]\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 6e883d8 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* fix(Test): typos\n\n---------\n\nCo-authored-by: Heitor Polidoro \nCo-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>", "timestamp": "2024-04-05T21:46:21Z", "url": "https://github.com/heitorpolidoro/github-app-handler/commit/f65c7f5630e7097ea3bdea8d198facfb6573e294", "author": {"name": "bartholomew-smith[bot]", "email": "156136305+bartholomew-smith[bot]@users.noreply.github.com", "username": "bartholomew-smith[bot]"}, "committer": {"name": "GitHub", "email": "noreply@github.com", "username": "web-flow"}, "added": [], "removed": [], "modified": ["githubapp/__init__.py", "githubapp/config.py", "githubapp/events/check_run.py", "githubapp/events/check_suite.py", "githubapp/events/create.py", "githubapp/events/issue_comment.py", "githubapp/events/issues.py", "githubapp/events/pull_request_review.py", "githubapp/events/push.py", "githubapp/events/release.py", "githubapp/events/status.py", "githubapp/webhook_handler.py", "payload_helper.py", "tests/test_event.py", "tests/test_webhook_handler_flask.py"]}}} \ No newline at end of file diff --git a/old_payloads/release.created.json b/old_payloads/release.created.json new file mode 100644 index 0000000..ba9efd2 --- /dev/null +++ b/old_payloads/release.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "237a4150-f397-11ee-99c1-2252de94a943", "X-Github-Event": "release", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "9584a459-93bd-4cd7-8dad-b296d76382f0", "Client-Ip": "140.82.115.174:25684", "X-Client-Ip": "140.82.115.174", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.174:25684", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "25684", "Content-Type": "application/json", "Timestamp": "1712354096241", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9175"}, "data": {"action": "created", "release": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307", "assets_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307/assets", "upload_url": "https://uploads.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307/assets{?name,label}", "html_url": "https://github.com/heitorpolidoro/github-app-handler/releases/tag/0.24.0", "id": 150019307, "author": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "node_id": "RE_kwDOK55OMM4I8Rzr", "tag_name": "0.24.0", "target_commitish": "master", "name": "0.24.0", "draft": false, "prerelease": false, "created_at": "2024-04-05T21:46:21Z", "published_at": "2024-04-05T21:54:55Z", "assets": [], "tarball_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tarball/0.24.0", "zipball_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/zipball/0.24.0", "body": "## What's Changed\n* test_event by @bartholomew-smith in https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n\n**Full Changelog**: https://github.com/heitorpolidoro/github-app-handler/compare/0.23.1...0.24.0"}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/release.published.json b/old_payloads/release.published.json new file mode 100644 index 0000000..f395b06 --- /dev/null +++ b/old_payloads/release.published.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "237d9cb0-f397-11ee-96d9-6af05f3a037c", "X-Github-Event": "release", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "230b6fef-74ca-4896-aeaa-27b034989833", "Client-Ip": "140.82.115.29:22662", "X-Client-Ip": "140.82.115.29", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.29:22662", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "22662", "Content-Type": "application/json", "Timestamp": "1712354096321", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9177"}, "data": {"action": "published", "release": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307", "assets_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307/assets", "upload_url": "https://uploads.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307/assets{?name,label}", "html_url": "https://github.com/heitorpolidoro/github-app-handler/releases/tag/0.24.0", "id": 150019307, "author": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "node_id": "RE_kwDOK55OMM4I8Rzr", "tag_name": "0.24.0", "target_commitish": "master", "name": "0.24.0", "draft": false, "prerelease": false, "created_at": "2024-04-05T21:46:21Z", "published_at": "2024-04-05T21:54:55Z", "assets": [], "tarball_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tarball/0.24.0", "zipball_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/zipball/0.24.0", "body": "## What's Changed\n* test_event by @bartholomew-smith in https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n\n**Full Changelog**: https://github.com/heitorpolidoro/github-app-handler/compare/0.23.1...0.24.0"}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/release.released.json b/old_payloads/release.released.json new file mode 100644 index 0000000..5878662 --- /dev/null +++ b/old_payloads/release.released.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "23773410-f397-11ee-9694-0ea75a2dfd2e", "X-Github-Event": "release", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "5e7feb02-c073-4511-85fb-385cc05a1ca8", "Client-Ip": "140.82.115.172:49268", "X-Client-Ip": "140.82.115.172", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.172:49268", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "49268", "Content-Type": "application/json", "Timestamp": "1712354096216", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9176"}, "data": {"action": "released", "release": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307", "assets_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307/assets", "upload_url": "https://uploads.github.com/repos/heitorpolidoro/github-app-handler/releases/150019307/assets{?name,label}", "html_url": "https://github.com/heitorpolidoro/github-app-handler/releases/tag/0.24.0", "id": 150019307, "author": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "node_id": "RE_kwDOK55OMM4I8Rzr", "tag_name": "0.24.0", "target_commitish": "master", "name": "0.24.0", "draft": false, "prerelease": false, "created_at": "2024-04-05T21:46:21Z", "published_at": "2024-04-05T21:54:55Z", "assets": [], "tarball_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tarball/0.24.0", "zipball_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/zipball/0.24.0", "body": "## What's Changed\n* test_event by @bartholomew-smith in https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n\n**Full Changelog**: https://github.com/heitorpolidoro/github-app-handler/compare/0.23.1...0.24.0"}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:46:21Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/repository_ruleset.created.json b/old_payloads/repository_ruleset.created.json new file mode 100644 index 0000000..196b50c --- /dev/null +++ b/old_payloads/repository_ruleset.created.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/b73b7cb", "Max-Forwards": "10", "X-Github-Delivery": "9b4823d0-648c-11ef-8982-16a7de0f74bd", "X-Github-Event": "repository_ruleset", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "2f4eb30c-e703-4760-8a55-ade62ac7c66c", "Client-Ip": "140.82.115.94:17840", "X-Client-Ip": "140.82.115.94", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.94:17840", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "17840", "Content-Type": "application/json", "Timestamp": "1724774054167", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "6721"}, "data": {"action": "created", "repository_ruleset": {"id": 1519608, "name": "master", "target": "branch", "source_type": "Repository", "source": "heitorpolidoro/tests", "enforcement": "disabled", "conditions": {"ref_name": {"exclude": [], "include": ["~DEFAULT_BRANCH"]}}, "rules": [{"type": "deletion"}, {"type": "non_fast_forward"}], "node_id": "RRS_lACqUmVwb3NpdG9yec4vXJzxzgAXL_g", "created_at": "2024-08-27T12:54:13.482-03:00", "updated_at": "2024-08-27T12:54:13.482-03:00", "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/tests/rulesets/1519608"}, "html": {"href": "https://github.com/heitorpolidoro/tests/rules/1519608"}}}, "repository": {"id": 794598641, "node_id": "R_kgDOL1yc8Q", "name": "tests", "full_name": "heitorpolidoro/tests", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/tests", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/tests", "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", "created_at": "2024-05-01T14:55:28Z", "updated_at": "2024-05-30T20:32:26Z", "pushed_at": "2024-07-22T14:59:18Z", "git_url": "git://github.com/heitorpolidoro/tests.git", "ssh_url": "git@github.com:heitorpolidoro/tests.git", "clone_url": "https://github.com/heitorpolidoro/tests.git", "svn_url": "https://github.com/heitorpolidoro/tests", "homepage": null, "size": 2, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 1, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/repository_ruleset.deleted.json b/old_payloads/repository_ruleset.deleted.json new file mode 100644 index 0000000..766ae9c --- /dev/null +++ b/old_payloads/repository_ruleset.deleted.json @@ -0,0 +1 @@ +{"headers": {"User-Agent": "GitHub-Hookshot/b73b7cb", "X-Github-Delivery": "ba3dda04-648d-11ef-8b3e-b82a359d923c", "X-Github-Event": "repository_ruleset", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "Content-Type": "application/json"}, "data": {"action": "deleted", "repository_ruleset": {"id": 1519608, "name": "master", "target": "branch", "source_type": "Repository", "source": "heitorpolidoro/tests", "enforcement": "active", "conditions": {"ref_name": {"exclude": [], "include": ["~DEFAULT_BRANCH"]}}, "rules": [{"type": "deletion"}, {"type": "non_fast_forward"}], "node_id": "RRS_lACqUmVwb3NpdG9yec4vXJzxzgAXL_g", "created_at": "2024-08-27T12:54:13.482-03:00", "updated_at": "2024-08-27T13:00:46.708-03:00", "_links": {"self": {"href": "https://api.github.com/repos/heitorpolidoro/tests/rulesets/1519608"}, "html": {"href": "https://github.com/heitorpolidoro/tests/rules/1519608"}}}, "repository": {"id": 794598641, "node_id": "R_kgDOL1yc8Q", "name": "tests", "full_name": "heitorpolidoro/tests", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/tests", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/tests", "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", "created_at": "2024-05-01T14:55:28Z", "updated_at": "2024-05-30T20:32:26Z", "pushed_at": "2024-07-22T14:59:18Z", "git_url": "git://github.com/heitorpolidoro/tests.git", "ssh_url": "git@github.com:heitorpolidoro/tests.git", "clone_url": "https://github.com/heitorpolidoro/tests.git", "svn_url": "https://github.com/heitorpolidoro/tests", "homepage": null, "size": 2, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 1, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 1, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/repository_ruleset.edited.json b/old_payloads/repository_ruleset.edited.json new file mode 100644 index 0000000..9f9a2e5 --- /dev/null +++ b/old_payloads/repository_ruleset.edited.json @@ -0,0 +1,184 @@ +{ + "headers": { + "User-Agent": "GitHub-Hookshot/b73b7cb", + "X-Github-Delivery": "85a6b70c-648d-11ef-8f9f-5fcdd1e570e6", + "X-Github-Event": "repository_ruleset", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "Content-Type": "application/json" + }, + "data": { + "action": "edited", + "repository_ruleset": { + "id": 1519608, + "name": "master", + "target": "branch", + "source_type": "Repository", + "source": "heitorpolidoro/tests", + "enforcement": "active", + "conditions": { + "ref_name": { + "exclude": [], + "include": [ + "~DEFAULT_BRANCH" + ] + } + }, + "rules": [ + { + "type": "deletion" + }, + { + "type": "non_fast_forward" + } + ], + "node_id": "RRS_lACqUmVwb3NpdG9yec4vXJzxzgAXL_g", + "created_at": "2024-08-27T12:54:13.482-03:00", + "updated_at": "2024-08-27T13:00:46.708-03:00", + "_links": { + "self": { + "href": "https://api.github.com/repos/heitorpolidoro/tests/rulesets/1519608" + }, + "html": { + "href": "https://github.com/heitorpolidoro/tests/rules/1519608" + } + } + }, + "changes": { + "enforcement": { + "from": "disabled" + }, + "rules": { + "deleted": [] + }, + "conditions": { + "deleted": [] + } + }, + "repository": { + "id": 794598641, + "node_id": "R_kgDOL1yc8Q", + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-05-30T20:32:26Z", + "pushed_at": "2024-07-22T14:59:18Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "id": 14806300, + "node_id": "MDQ6VXNlcjE0ODA2MzAw", + "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 45043978, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg=" + } + } +} diff --git a/old_payloads/security_advisory.published.json b/old_payloads/security_advisory.published.json new file mode 100644 index 0000000..66d58ed --- /dev/null +++ b/old_payloads/security_advisory.published.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "59f284e0-cc50-11ee-93d4-1174c7d61864", "X-Github-Event": "security_advisory", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "88e2a08d-aaba-4216-ad4c-798d00ac0eb7", "Client-Ip": "140.82.115.169:54708", "X-Client-Ip": "140.82.115.169", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.169:54708", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "54708", "Content-Type": "application/json", "Timestamp": "1708035831310", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "1040"}, "data": {"action": "published", "security_advisory": {"ghsa_id": "GHSA-4mx4-7vp6-gj92", "cve_id": null, "summary": "Malware in execution-time-async", "description": "Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.", "severity": "critical", "identifiers": [{"value": "GHSA-4mx4-7vp6-gj92", "type": "GHSA"}], "references": [{"url": "https://github.com/advisories/GHSA-4mx4-7vp6-gj92"}], "published_at": "2024-02-15T22:19:56Z", "updated_at": "2024-02-15T22:19:57Z", "withdrawn_at": null, "vulnerabilities": [{"package": {"ecosystem": "npm", "name": "execution-time-async"}, "severity": "critical", "vulnerable_version_range": ">= 0", "first_patched_version": null}], "cvss": {"vector_string": null, "score": 0}, "cwes": []}}} \ No newline at end of file diff --git a/old_payloads/security_advisory.updated.json b/old_payloads/security_advisory.updated.json new file mode 100644 index 0000000..4931e17 --- /dev/null +++ b/old_payloads/security_advisory.updated.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/342756e", "Max-Forwards": "10", "X-Github-Delivery": "5efe6910-cd16-11ee-803b-cf27a7cb26ac", "X-Github-Event": "security_advisory", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "9c34308b-326a-421a-aaef-06723af7a660", "Client-Ip": "140.82.115.144:23508", "X-Client-Ip": "140.82.115.144", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.144:23508", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "23508", "Content-Type": "application/json", "Timestamp": "1708120872507", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "1263"}, "data": {"action": "updated", "security_advisory": {"ghsa_id": "GHSA-m95h-p4gg-wfw3", "cve_id": "CVE-2024-24591", "summary": "Allegro AI ClearML path traversal vulnerability", "description": "A path traversal vulnerability in versions 1.4.0 to 1.14.1 of the client SDK of Allegro AI\u2019s ClearML platform enables a maliciously uploaded dataset to write local or remote files to an arbitrary location on an end user\u2019s system when interacted with.", "severity": "high", "identifiers": [{"value": "GHSA-m95h-p4gg-wfw3", "type": "GHSA"}, {"value": "CVE-2024-24591", "type": "CVE"}], "references": [{"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-24591"}, {"url": "https://hiddenlayer.com/research/not-so-clear-how-mlops-solutions-can-muddy-the-waters-of-your-supply-chain"}, {"url": "https://github.com/advisories/GHSA-m95h-p4gg-wfw3"}], "published_at": "2024-02-06T15:32:07Z", "updated_at": "2024-02-16T21:57:26Z", "withdrawn_at": null, "vulnerabilities": [{"package": {"ecosystem": "pip", "name": "clearml"}, "severity": "high", "vulnerable_version_range": ">= 0.17.0, <= 1.14.1", "first_patched_version": null}], "cvss": {"vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "score": 8.8}, "cwes": [{"cwe_id": "CWE-22", "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}}} \ No newline at end of file diff --git a/old_payloads/status.json b/old_payloads/status.json new file mode 100644 index 0000000..86c04bd --- /dev/null +++ b/old_payloads/status.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "6078df3c-f39a-11ee-8ae1-c36744f7c60e", "X-Github-Event": "status", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "357d1370-b1ce-4aba-9644-613c545ba9b1", "Client-Ip": "140.82.115.152:32060", "X-Client-Ip": "140.82.115.152", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.152:32060", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "32060", "Content-Type": "application/json", "Timestamp": "1712355486990", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "11161"}, "data": {"id": 28450580264, "sha": "a7ebd267d7464191e0f66fe5c4622dff3f41b7ef", "name": "heitorpolidoro/bartholomew-smith", "target_url": "https://app.deepsource.com/gh/heitorpolidoro/bartholomew-smith/run/0a983527-cb45-428a-a2f3-32c52022fc16/test-coverage/", "avatar_url": "https://avatars.githubusercontent.com/in/16372?v=4", "context": "DeepSource: Test coverage", "description": "Timed out: Artifact was never reported", "state": "failure", "commit": {"sha": "a7ebd267d7464191e0f66fe5c4622dff3f41b7ef", "node_id": "C_kwDOLC2AQNoAKGE3ZWJkMjY3ZDc0NjQxOTFlMGY2NmZlNWM0NjIyZGZmM2Y0MWI3ZWY", "commit": {"author": {"name": "Heitor Polidoro", "email": "heitor.polidoro@gmail.com", "date": "2024-04-05T21:52:56Z"}, "committer": {"name": "Heitor Polidoro", "email": "heitor.polidoro@gmail.com", "date": "2024-04-05T21:52:56Z"}, "message": "fix(ReleaseManager): fix PaginatedList reverse", "tree": {"sha": "1223950f56aad77782a2d8c43e885500e85afaed", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees/1223950f56aad77782a2d8c43e885500e85afaed"}, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits/a7ebd267d7464191e0f66fe5c4622dff3f41b7ef", "comment_count": 0, "verification": {"verified": false, "reason": "unsigned", "signature": null, "payload": null}}, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits/a7ebd267d7464191e0f66fe5c4622dff3f41b7ef", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/commit/a7ebd267d7464191e0f66fe5c4622dff3f41b7ef", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits/a7ebd267d7464191e0f66fe5c4622dff3f41b7ef/comments", "author": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "committer": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "parents": [{"sha": "d13da30426b5882769990cdab2aa850f6a706a45", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits/d13da30426b5882769990cdab2aa850f6a706a45", "html_url": "https://github.com/heitorpolidoro/bartholomew-smith/commit/d13da30426b5882769990cdab2aa850f6a706a45"}]}, "branches": [{"name": "master", "commit": {"sha": "a7ebd267d7464191e0f66fe5c4622dff3f41b7ef", "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits/a7ebd267d7464191e0f66fe5c4622dff3f41b7ef"}, "protected": true}], "created_at": "2024-04-05T22:18:06+00:00", "updated_at": "2024-04-05T22:18:06+00:00", "repository": {"id": 741179456, "node_id": "R_kgDOLC2AQA", "name": "bartholomew-smith", "full_name": "heitorpolidoro/bartholomew-smith", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/bartholomew-smith", "description": "Your butler for managing your GitHub repositories", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith", "forks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/bartholomew-smith/deployments", "created_at": "2024-01-09T21:27:32Z", "updated_at": "2024-01-22T18:14:58Z", "pushed_at": "2024-04-05T21:53:02Z", "git_url": "git://github.com/heitorpolidoro/bartholomew-smith.git", "ssh_url": "git@github.com:heitorpolidoro/bartholomew-smith.git", "clone_url": "https://github.com/heitorpolidoro/bartholomew-smith.git", "svn_url": "https://github.com/heitorpolidoro/bartholomew-smith", "homepage": "https://bartholomew-smith.vercel.app", "size": 521, "stargazers_count": 1, "watchers_count": 1, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 30, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": ["github", "githubapp", "pull-request"], "visibility": "public", "forks": 0, "open_issues": 30, "watchers": 1, "default_branch": "master"}, "sender": {"login": "deepsource-io[bot]", "id": 42547082, "node_id": "MDM6Qm90NDI1NDcwODI=", "avatar_url": "https://avatars.githubusercontent.com/in/16372?v=4", "gravatar_id": "", "url": "https://api.github.com/users/deepsource-io%5Bbot%5D", "html_url": "https://github.com/apps/deepsource-io", "followers_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/followers", "following_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/repos", "events_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/deepsource-io%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/workflow_job.completed.json b/old_payloads/workflow_job.completed.json new file mode 100644 index 0000000..16d3ab9 --- /dev/null +++ b/old_payloads/workflow_job.completed.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "3f66d860-f397-11ee-888e-d8ab84f12c77", "X-Github-Event": "workflow_job", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "53371e0c-8d58-44f7-81e9-0c826362fb4b", "Client-Ip": "140.82.115.26:44724", "X-Client-Ip": "140.82.115.26", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.26:44724", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "44724", "Content-Type": "application/json", "Timestamp": "1712354143260", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "11466"}, "data": {"action": "completed", "workflow_job": {"id": 23506561805, "run_id": 8576133480, "workflow_name": "Upload Python Package", "head_branch": "0.24.0", "run_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "run_attempt": 1, "node_id": "CR_kwDOK55OMM8AAAAFeRmrDQ", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/jobs/23506561805", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480/job/23506561805", "status": "completed", "conclusion": "success", "created_at": "2024-04-05T21:54:57Z", "started_at": "2024-04-05T21:55:04Z", "completed_at": "2024-04-05T21:55:40Z", "name": "Upload release to PyPI", "steps": [{"name": "Set up job", "status": "completed", "conclusion": "success", "number": 1, "started_at": "2024-04-05T21:55:04.000Z", "completed_at": "2024-04-05T21:55:05.000Z"}, {"name": "Build pypa/gh-action-pypi-publish@release/v1", "status": "completed", "conclusion": "success", "number": 2, "started_at": "2024-04-05T21:55:05.000Z", "completed_at": "2024-04-05T21:55:22.000Z"}, {"name": "Run actions/checkout@v4", "status": "completed", "conclusion": "success", "number": 3, "started_at": "2024-04-05T21:55:23.000Z", "completed_at": "2024-04-05T21:55:23.000Z"}, {"name": "Set up Python", "status": "completed", "conclusion": "success", "number": 4, "started_at": "2024-04-05T21:55:23.000Z", "completed_at": "2024-04-05T21:55:25.000Z"}, {"name": "Install dependencies", "status": "completed", "conclusion": "success", "number": 5, "started_at": "2024-04-05T21:55:25.000Z", "completed_at": "2024-04-05T21:55:26.000Z"}, {"name": "Build package", "status": "completed", "conclusion": "success", "number": 6, "started_at": "2024-04-05T21:55:27.000Z", "completed_at": "2024-04-05T21:55:32.000Z"}, {"name": "Publish package distributions to PyPI", "status": "completed", "conclusion": "success", "number": 7, "started_at": "2024-04-05T21:55:32.000Z", "completed_at": "2024-04-05T21:55:38.000Z"}, {"name": "Post Set up Python", "status": "completed", "conclusion": "success", "number": 13, "started_at": "2024-04-05T21:55:38.000Z", "completed_at": "2024-04-05T21:55:38.000Z"}, {"name": "Post Run actions/checkout@v4", "status": "completed", "conclusion": "success", "number": 14, "started_at": "2024-04-05T21:55:38.000Z", "completed_at": "2024-04-05T21:55:38.000Z"}, {"name": "Complete job", "status": "completed", "conclusion": "success", "number": 15, "started_at": "2024-04-05T21:55:38.000Z", "completed_at": "2024-04-05T21:55:38.000Z"}], "check_run_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/check-runs/23506561805", "labels": ["ubuntu-latest"], "runner_id": 34, "runner_name": "GitHub Actions 19", "runner_group_id": 2, "runner_group_name": "GitHub Actions"}, "deployment": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061", "id": 1434080061, "node_id": "DE_kwDOK55OMM5VelM9", "task": "deploy", "original_environment": "pypi", "environment": "pypi", "description": null, "created_at": "2024-04-05T21:54:57Z", "updated_at": "2024-04-05T21:55:42Z", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061/statuses", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "creator": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "ref": "0.24.0", "payload": {}, "transient_environment": false, "production_environment": false, "performed_via_github_app": null}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/workflow_job.in_progress.json b/old_payloads/workflow_job.in_progress.json new file mode 100644 index 0000000..538efc9 --- /dev/null +++ b/old_payloads/workflow_job.in_progress.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "2921b430-f397-11ee-8668-e6757de884ff", "X-Github-Event": "workflow_job", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "481617d7-a9a6-420b-94c3-44cce7bec9e2", "Client-Ip": "140.82.115.58:64154", "X-Client-Ip": "140.82.115.58", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.58:64154", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "64154", "Content-Type": "application/json", "Timestamp": "1712354105805", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9870"}, "data": {"action": "in_progress", "workflow_job": {"id": 23506561805, "run_id": 8576133480, "workflow_name": "Upload Python Package", "head_branch": "0.24.0", "run_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "run_attempt": 1, "node_id": "CR_kwDOK55OMM8AAAAFeRmrDQ", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/jobs/23506561805", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480/job/23506561805", "status": "in_progress", "conclusion": null, "created_at": "2024-04-05T21:54:57Z", "started_at": "2024-04-05T21:55:04Z", "completed_at": null, "name": "Upload release to PyPI", "steps": [{"name": "Set up job", "status": "in_progress", "conclusion": null, "number": 1, "started_at": "2024-04-05T21:55:04.000Z", "completed_at": null}], "check_run_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/check-runs/23506561805", "labels": ["ubuntu-latest"], "runner_id": 34, "runner_name": "GitHub Actions 19", "runner_group_id": 2, "runner_group_name": "GitHub Actions"}, "deployment": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061", "id": 1434080061, "node_id": "DE_kwDOK55OMM5VelM9", "task": "deploy", "original_environment": "pypi", "environment": "pypi", "description": null, "created_at": "2024-04-05T21:54:57Z", "updated_at": "2024-04-05T21:55:05Z", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061/statuses", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "creator": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "ref": "0.24.0", "payload": {}, "transient_environment": false, "production_environment": false, "performed_via_github_app": null}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/workflow_job.queued.json b/old_payloads/workflow_job.queued.json new file mode 100644 index 0000000..99af0b3 --- /dev/null +++ b/old_payloads/workflow_job.queued.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "24ce5fa0-f397-11ee-9731-2cec3c51d7b3", "X-Github-Event": "workflow_job", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "bf959f17-5f4f-4888-b777-162061218aee", "Client-Ip": "140.82.115.60:32280", "X-Client-Ip": "140.82.115.60", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.60:32280", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "32280", "Content-Type": "application/json", "Timestamp": "1712354098596", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "9705"}, "data": {"action": "queued", "workflow_job": {"id": 23506561805, "run_id": 8576133480, "workflow_name": "Upload Python Package", "head_branch": "0.24.0", "run_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "run_attempt": 1, "node_id": "CR_kwDOK55OMM8AAAAFeRmrDQ", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/jobs/23506561805", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480/job/23506561805", "status": "queued", "conclusion": null, "created_at": "2024-04-05T21:54:57Z", "started_at": "2024-04-05T21:54:57Z", "completed_at": null, "name": "Upload release to PyPI", "steps": [], "check_run_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/check-runs/23506561805", "labels": ["ubuntu-latest"], "runner_id": null, "runner_name": null, "runner_group_id": null, "runner_group_name": null}, "deployment": {"url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061", "id": 1434080061, "node_id": "DE_kwDOK55OMM5VelM9", "task": "deploy", "original_environment": "pypi", "environment": "pypi", "description": null, "created_at": "2024-04-05T21:54:57Z", "updated_at": "2024-04-05T21:54:57Z", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments/1434080061/statuses", "repository_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "creator": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "ref": "0.24.0", "payload": {}, "transient_environment": false, "production_environment": false, "performed_via_github_app": null}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/workflow_run.completed.json b/old_payloads/workflow_run.completed.json new file mode 100644 index 0000000..fa7774d --- /dev/null +++ b/old_payloads/workflow_run.completed.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "3f7e30f0-f397-11ee-8636-bb6c17aa3cd0", "X-Github-Event": "workflow_run", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "f903ef9f-9ea6-47c9-b88c-00c38cf761bc", "Client-Ip": "140.82.115.44:41124", "X-Client-Ip": "140.82.115.44", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.44:41124", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "41124", "Content-Type": "application/json", "Timestamp": "1712354143239", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "22093"}, "data": {"action": "completed", "workflow_run": {"id": 8576133480, "name": "Upload Python Package", "node_id": "WFR_kwLOK55OMM8AAAAB_y1paA", "head_branch": "0.24.0", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "path": ".github/workflows/pypi-publish.yml", "display_title": "0.24.0", "run_number": 19, "event": "release", "status": "completed", "conclusion": "success", "workflow_id": 81274491, "check_suite_id": 22480147219, "check_suite_node_id": "CS_kwDOK55OMM8AAAAFO-vTEw", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480", "pull_requests": [], "created_at": "2024-04-05T21:54:56Z", "updated_at": "2024-04-05T21:55:42Z", "actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "run_attempt": 1, "referenced_workflows": [], "run_started_at": "2024-04-05T21:54:56Z", "triggering_actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "jobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/jobs", "logs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/logs", "check_suite_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/check-suites/22480147219", "artifacts_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/artifacts", "cancel_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/cancel", "rerun_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/rerun", "previous_attempt_url": null, "workflow_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "head_commit": {"id": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "tree_id": "53498ee9910f1cb5befaa4004151f2a13e26211e", "message": "test_event (#203)\n\n* feat(Event): test\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 77ab8c3 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* [release:minor]\n\n* fix(Test): rename\n\n* chore(Test): remove kwargs: dict\n\n* chore(Test): dict -> dict[str,str]\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 6e883d8 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* fix(Test): typos\n\n---------\n\nCo-authored-by: Heitor Polidoro \nCo-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>", "timestamp": "2024-04-05T21:46:21Z", "author": {"name": "bartholomew-smith[bot]", "email": "156136305+bartholomew-smith[bot]@users.noreply.github.com"}, "committer": {"name": "GitHub", "email": "noreply@github.com"}}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments"}, "head_repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments"}}, "workflow": {"id": 81274491, "node_id": "W_kwDOK55OMM4E2CZ7", "name": "Upload Python Package", "path": ".github/workflows/pypi-publish.yml", "state": "active", "created_at": "2024-01-04T21:31:43.000Z", "updated_at": "2024-01-12T19:41:41.000Z", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "html_url": "https://github.com/heitorpolidoro/github-app-handler/blob/master/.github/workflows/pypi-publish.yml", "badge_url": "https://github.com/heitorpolidoro/github-app-handler/workflows/Upload%20Python%20Package/badge.svg"}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/workflow_run.in_progress.json b/old_payloads/workflow_run.in_progress.json new file mode 100644 index 0000000..619ac38 --- /dev/null +++ b/old_payloads/workflow_run.in_progress.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "291bc0c0-f397-11ee-9451-e2513639953e", "X-Github-Event": "workflow_run", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "50e57b2d-179a-4da2-b881-ace1e339aa18", "Client-Ip": "140.82.115.29:22758", "X-Client-Ip": "140.82.115.29", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.29:22758", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "22758", "Content-Type": "application/json", "Timestamp": "1712354105791", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "22092"}, "data": {"action": "in_progress", "workflow_run": {"id": 8576133480, "name": "Upload Python Package", "node_id": "WFR_kwLOK55OMM8AAAAB_y1paA", "head_branch": "0.24.0", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "path": ".github/workflows/pypi-publish.yml", "display_title": "0.24.0", "run_number": 19, "event": "release", "status": "in_progress", "conclusion": null, "workflow_id": 81274491, "check_suite_id": 22480147219, "check_suite_node_id": "CS_kwDOK55OMM8AAAAFO-vTEw", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480", "pull_requests": [], "created_at": "2024-04-05T21:54:56Z", "updated_at": "2024-04-05T21:55:05Z", "actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "run_attempt": 1, "referenced_workflows": [], "run_started_at": "2024-04-05T21:54:56Z", "triggering_actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "jobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/jobs", "logs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/logs", "check_suite_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/check-suites/22480147219", "artifacts_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/artifacts", "cancel_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/cancel", "rerun_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/rerun", "previous_attempt_url": null, "workflow_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "head_commit": {"id": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "tree_id": "53498ee9910f1cb5befaa4004151f2a13e26211e", "message": "test_event (#203)\n\n* feat(Event): test\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 77ab8c3 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* [release:minor]\n\n* fix(Test): rename\n\n* chore(Test): remove kwargs: dict\n\n* chore(Test): dict -> dict[str,str]\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 6e883d8 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* fix(Test): typos\n\n---------\n\nCo-authored-by: Heitor Polidoro \nCo-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>", "timestamp": "2024-04-05T21:46:21Z", "author": {"name": "bartholomew-smith[bot]", "email": "156136305+bartholomew-smith[bot]@users.noreply.github.com"}, "committer": {"name": "GitHub", "email": "noreply@github.com"}}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments"}, "head_repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments"}}, "workflow": {"id": 81274491, "node_id": "W_kwDOK55OMM4E2CZ7", "name": "Upload Python Package", "path": ".github/workflows/pypi-publish.yml", "state": "active", "created_at": "2024-01-04T21:31:43.000Z", "updated_at": "2024-01-12T19:41:41.000Z", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "html_url": "https://github.com/heitorpolidoro/github-app-handler/blob/master/.github/workflows/pypi-publish.yml", "badge_url": "https://github.com/heitorpolidoro/github-app-handler/workflows/Upload%20Python%20Package/badge.svg"}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/old_payloads/workflow_run.requested.json b/old_payloads/workflow_run.requested.json new file mode 100644 index 0000000..883c369 --- /dev/null +++ b/old_payloads/workflow_run.requested.json @@ -0,0 +1 @@ +{"headers": {"Host": "127.0.0.1:3333", "Connection": "keep-alive", "Accept": "*/*", "User-Agent": "GitHub-Hookshot/d3773fa", "Max-Forwards": "10", "X-Github-Delivery": "24472e40-f397-11ee-8f4f-2e54308e5326", "X-Github-Event": "workflow_run", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "X-Arr-Log-Id": "03db25e4-f8e9-42f9-b4be-4c8d7c8e736b", "Client-Ip": "140.82.115.26:63832", "X-Client-Ip": "140.82.115.26", "Disguised-Host": "smee.io", "X-Site-Deployment-Id": "smee-io-production", "Was-Default-Hostname": "smee-io-production.azurewebsites.net", "X-Forwarded-Proto": "https", "X-Appservice-Proto": "https", "X-Arr-Ssl": "2048|256|CN=GeoTrust Global TLS RSA4096 SHA256 2022 CA1, O=\"DigiCert, Inc.\", C=US|CN=smee.io", "X-Forwarded-Tlsversion": "1.3", "X-Forwarded-For": "140.82.115.26:63832", "X-Original-Url": "/polidoro-testing", "X-Waws-Unencoded-Url": "/polidoro-testing", "X-Client-Port": "63832", "Content-Type": "application/json", "Timestamp": "1712354097613", "Accept-Language": "*", "Sec-Fetch-Mode": "cors", "Accept-Encoding": "gzip, deflate", "Content-Length": "22085"}, "data": {"action": "requested", "workflow_run": {"id": 8576133480, "name": "Upload Python Package", "node_id": "WFR_kwLOK55OMM8AAAAB_y1paA", "head_branch": "0.24.0", "head_sha": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "path": ".github/workflows/pypi-publish.yml", "display_title": "0.24.0", "run_number": 19, "event": "release", "status": "queued", "conclusion": null, "workflow_id": 81274491, "check_suite_id": 22480147219, "check_suite_node_id": "CS_kwDOK55OMM8AAAAFO-vTEw", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480", "html_url": "https://github.com/heitorpolidoro/github-app-handler/actions/runs/8576133480", "pull_requests": [], "created_at": "2024-04-05T21:54:56Z", "updated_at": "2024-04-05T21:54:56Z", "actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "run_attempt": 1, "referenced_workflows": [], "run_started_at": "2024-04-05T21:54:56Z", "triggering_actor": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "jobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/jobs", "logs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/logs", "check_suite_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/check-suites/22480147219", "artifacts_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/artifacts", "cancel_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/cancel", "rerun_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/runs/8576133480/rerun", "previous_attempt_url": null, "workflow_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "head_commit": {"id": "f65c7f5630e7097ea3bdea8d198facfb6573e294", "tree_id": "53498ee9910f1cb5befaa4004151f2a13e26211e", "message": "test_event (#203)\n\n* feat(Event): test\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 77ab8c3 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* [release:minor]\n\n* fix(Test): rename\n\n* chore(Test): remove kwargs: dict\n\n* chore(Test): dict -> dict[str,str]\n\n* style: format code with Black and isort\n\nThis commit fixes the style issues introduced in 6e883d8 according to the output\nfrom Black and isort.\n\nDetails: https://github.com/heitorpolidoro/github-app-handler/pull/203\n\n* fix(Test): typos\n\n---------\n\nCo-authored-by: Heitor Polidoro \nCo-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>", "timestamp": "2024-04-05T21:46:21Z", "author": {"name": "bartholomew-smith[bot]", "email": "156136305+bartholomew-smith[bot]@users.noreply.github.com"}, "committer": {"name": "GitHub", "email": "noreply@github.com"}}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments"}, "head_repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments"}}, "workflow": {"id": 81274491, "node_id": "W_kwDOK55OMM4E2CZ7", "name": "Upload Python Package", "path": ".github/workflows/pypi-publish.yml", "state": "active", "created_at": "2024-01-04T21:31:43.000Z", "updated_at": "2024-01-12T19:41:41.000Z", "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/actions/workflows/81274491", "html_url": "https://github.com/heitorpolidoro/github-app-handler/blob/master/.github/workflows/pypi-publish.yml", "badge_url": "https://github.com/heitorpolidoro/github-app-handler/workflows/Upload%20Python%20Package/badge.svg"}, "repository": {"id": 731794992, "node_id": "R_kgDOK55OMA", "name": "github-app-handler", "full_name": "heitorpolidoro/github-app-handler", "private": false, "owner": {"login": "heitorpolidoro", "id": 14806300, "node_id": "MDQ6VXNlcjE0ODA2MzAw", "avatar_url": "https://avatars.githubusercontent.com/u/14806300?v=4", "gravatar_id": "", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/github-app-handler", "description": "A handler helper to create Github App easily", "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/github-app-handler", "forks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/github-app-handler/deployments", "created_at": "2023-12-14T22:35:44Z", "updated_at": "2023-12-19T20:54:54Z", "pushed_at": "2024-04-05T21:54:55Z", "git_url": "git://github.com/heitorpolidoro/github-app-handler.git", "ssh_url": "git@github.com:heitorpolidoro/github-app-handler.git", "clone_url": "https://github.com/heitorpolidoro/github-app-handler.git", "svn_url": "https://github.com/heitorpolidoro/github-app-handler", "homepage": null, "size": 174, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "has_discussions": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 25, "license": {"key": "mit", "name": "MIT License", "spdx_id": "MIT", "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz"}, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 1, "open_issues": 25, "watchers": 0, "default_branch": "master"}, "sender": {"login": "bartholomew-smith[bot]", "id": 156136305, "node_id": "BOT_kgDOCU5zcQ", "avatar_url": "https://avatars.githubusercontent.com/in/792560?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D", "html_url": "https://github.com/apps/bartholomew-smith", "followers_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/followers", "following_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/gists{/gist_id}", "starred_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/subscriptions", "organizations_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/orgs", "repos_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/repos", "events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/events{/privacy}", "received_events_url": "https://api.github.com/users/bartholomew-smith%5Bbot%5D/received_events", "type": "Bot", "site_admin": false}, "installation": {"id": 45043978, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDUwNDM5Nzg="}}} \ No newline at end of file diff --git a/payload_helper.py b/payload_helper.py index f859c25..df19f23 100644 --- a/payload_helper.py +++ b/payload_helper.py @@ -1,66 +1,228 @@ +""" Just a Payload Helper """ + import json -from argparse import ArgumentParser from subprocess import Popen +from time import sleep -from flask import Flask, request -from requests import post - -app = Flask(__name__) - - -@app.route("/", methods=["POST"]) -def github_payload(): - headers = request.headers - event = headers.get("X-GitHub-Event") - data = request.json - event_full_name = event - if action := data.get("action", ""): - event_full_name = f"{event}.{action}" - print("-" * 42 + "> JSON saved <" + "-" * 42) - print(f"Event: {event_full_name}", end="") - if repo := data.get("repository"): - print(f" - Repo: {repo['full_name']}", end="") - print() - file_name = f"payloads/{event_full_name}.json" - with open(file_name, "w") as file: - json.dump( - { - "headers": dict[str, str](headers), - "data": data, - }, - file, - ) - print("-" * 100) - - return "Ok" +from flask import request, Flask +from pcommand import ArgumentParser, command +from requests import post, get, exceptions +from githubapp.v1.events.event import Event +from githubapp.v1.handlers import FlaskHandler -if __name__ == "__main__": - parser = ArgumentParser() - parser.add_argument("--record", default=False, action="store_true") - parser.add_argument("--play", nargs=1) - parser.add_argument("--installation_target_id", nargs=1) - parser.add_argument("--installation_id", nargs=1) - args = parser.parse_args() - if args.record: - print(1) - with Popen( - "smee -u https://smee.io/polidoro-testing -p 3333 -P /".split() - ) as p: - print(2) - app.debug = True - app.run(port=3333) - print(3) - elif payload := args.play: - with open(payload[0]) as file: - payload = json.load(file) - headers = payload["headers"] - data = payload["data"] - - if args.installation_target_id: - headers["X-GitHub-Hook-Installation-Target-ID"] = ( - args.installation_target_id[0] +PORT = 3333 +PAYLOADS_FOLDER = "tests/v1/payloads" +app = FlaskHandler("Test Handler") + + +@app.handle_event(Event) +def handler(event: Event) -> None: + print(f"Event received: {event.__class__.__name__}") + + +@command +def run(app_=None) -> None: + """Run local app""" + app_ = app_ or app + app_.run(port=PORT) + + +@command +def test(event_file: str) -> None: + """Start a local app and play the event""" + + host = "http://127.0.0.1" + port = PORT + try: + with Popen("python payload_helper.py run".split()) as process: + while True: + try: + print("Waiting server to be up...") + assert get(url=f"{host}:{port}", timeout=1).status_code == 200 + print("Done") + break + except exceptions.ConnectionError: + sleep(0.1) + except Exception as e: + print("-" * 50) + print(e, type(e)) + print("-" * 50) + exit(e) + play(event_file, host=host, port=port) + process.terminate() + process.wait() + except KeyboardInterrupt: + pass + + +@command +def play( + event_file: str, + host: str = "http://127.0.0.1", + port: int = 5000, + installation_id: int = None, + hook_installation_target_id: int = None, +) -> None: + """Play the event""" + with open(event_file) as file: + payload = json.load(file) + headers = payload["headers"] + data = payload["data"] + if installation_id: + data["installation"]["id"] = installation_id + if hook_installation_target_id: + headers["X-GitHub-Hook-Installation-Target-ID"] = str(hook_installation_target_id) + post(headers=headers, json=data, url=f"{host}:{port}") + + +@command +def record(): + """Record events""" + flask_app = Flask("Test") + headers_to_keep = { + "User-Agent", + "X-Github-Delivery", + "X-Github-Event", + "X-Github-Hook-Id", + "X-Github-Hook-Installation-Target-Id", + "X-Github-Hook-Installation-Target-Type", + "Content-Type" + } + exclude_data_keys = { + "node_id", + "avatar_url", + "gravatar_id", + "id", + "permissions", + "events", + "client_id", + } + + @flask_app.route("/", methods=["POST"]) + def github_payload(): + def clean_headers(headers): + return {k: v for k, v in headers if k in headers_to_keep} + + def clean_data(data): + if isinstance(data, dict): + return {k: clean_data(v) for k, v in data.items() if k not in exclude_data_keys} + return data + + headers = request.headers + event = headers.get("X-GitHub-Event") + data = request.json + event_full_name = event + if action := data.get("action", ""): + event_full_name = f"{event}.{action}" + print("-" * 42 + "> JSON saved <" + "-" * 42) + print(f"Event: {event_full_name}", end="") + if repo := data.get("repository"): + print(f" - Repo: {repo['full_name']}", end="") + print() + file_name = f"{PAYLOADS_FOLDER}/{event_full_name}.json" + print("Saving in", file_name, end="...", flush=True) + data = clean_data(data) + data["installation"]["id"] = 12345678 + with open(file_name, "w") as file: + json.dump( + { + "headers": clean_headers(headers), + "data": data, + }, + file, ) - if args.installation_id: - data["installation"]["id"] = args.installation_id[0] - print(post(headers=headers, json=data, url="http://127.0.0.1:5000")) + print("done") + print("-" * 100) + + return "Ok" + + try: + with Popen("smee -u https://smee.io/polidoro-testing -p 3333 -P /".split()) as process: + run(flask_app) + process.terminate() + process.wait() + except KeyboardInterrupt: + pass + + +if __name__ == "__main__": + ArgumentParser().parse_args() + + +# response = self.client.post("/", headers=headers, json=data) +# app = Flask(__name__) +# PAYLOADS_FOLDER = "tests/payloads" +# HEADERS_TO_KEEP = { +# "X-Github-Hook-Id", +# "X-Github-Event", +# "X-Github-Delivery", +# "X-Github-Hook-Installation-Target-Type", +# "X-Github-Hook-Installation-Target-Id", +# "User-Agent", +# "Content-Type", +# } +# EXCLUDE_DATA_KEYS = {"node_id"} +# +# +# def clean_headers(headers): +# return {k: v for k, v in headers if k in HEADERS_TO_KEEP} +# +# +# def clean_data(data): +# if isinstance(data, dict): +# return {k: clean_data(v) for k, v in data.items() if k not in EXCLUDE_DATA_KEYS} +# return data +# +# +# @app.route("/", methods=["POST"]) +# def github_payload(): +# headers = request.headers +# event = headers.get("X-GitHub-Event") +# data = request.json +# event_full_name = event +# if action := data.get("action", ""): +# event_full_name = f"{event}.{action}" +# print("-" * 42 + "> JSON saved <" + "-" * 42) +# print(f"Event: {event_full_name}", end="") +# if repo := data.get("repository"): +# print(f" - Repo: {repo['full_name']}", end="") +# print() +# file_name = f"{PAYLOADS_FOLDER}/{event_full_name}.json" +# with open(file_name, "w") as file: +# json.dump( +# { +# "headers": clean_headers(headers), +# "data": clean_data(data), +# }, +# file, +# ) +# print("-" * 100) +# +# return "Ok" +# +# +# def play(play_info): +# with open(play_info[0]) as file: +# payload = json.load(file) +# headers = payload["headers"] +# data = payload["data"] +# if play_info.installation_target_id: +# headers["X-GitHub-Hook-Installation-Target-ID"] = play_info.installation_target_id[0] +# if play_info.installation_id: +# data["installation"]["id"] = play_info.installation_id[0] +# print(post(headers=headers, json=data, url="http://127.0.0.1:5000")) +# +# +# if __name__ == "__main__": +# parser = ArgumentParser() +# parser.add_argument("--record", default=False, action="store_true") +# parser.add_argument("--play", nargs=1) +# parser.add_argument("--installation_target_id", nargs=1) +# parser.add_argument("--installation_id", nargs=1) +# args = parser.parse_args() +# if args.record: +# with Popen("smee -u https://smee.io/polidoro-testing -p 3333 -P /".split()) as p: +# app.run(port=3333, debug=True) +# elif args.play: +# play(args) diff --git a/requirements.test.txt b/requirements.test.txt index d538121..5737b97 100644 --- a/requirements.test.txt +++ b/requirements.test.txt @@ -1,5 +1,5 @@ -r requirements.txt -pytest==8.0.0 -pytest-cov==4.1.0 -pytest-mock==3.12.0 -flask==3.0.2 +pytest +pytest-cov +pytest-mock +flask diff --git a/requirements.txt b/requirements.txt index c148470..d386978 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,6 @@ -PyGithub==2.3.0 -pyyaml==6.0.1 -requests_mock==1.12.1 +# TODO test versions range +PyGithub +pyyaml +pydantic +polidoro-config +# requests_mock==1.12.1 diff --git a/sonar-project.properties b/sonar-project.properties index 51b1348..046873f 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,10 +1,9 @@ sonar.projectKey=heitorpolidoro_github-app-handler sonar.organization=heitorpolidoro -sonar.coverage.exclusions = tests/** +sonar.coverage.exclusions = tests/**,docs/** sonar.python.coverage.reportPaths=coverage.xml -sonar.python.version=3.9 -#sonar.python.version=3.9, 3.10, 3.11, 3.12 +sonar.python.version=3.10, 3.11, 3.12 sonar.sources=. -sonar.exclusions=tests/**,payload_helper.py,githubapp/test_helper/spy.py,githubapp/test_helper/test_case.py +sonar.exclusions=tests/**,docs/** diff --git a/test_pydantic_versions.sh b/test_pydantic_versions.sh new file mode 100644 index 0000000..cf6c742 --- /dev/null +++ b/test_pydantic_versions.sh @@ -0,0 +1,24 @@ + #!/bin/bash + + # List of Pydantic versions to test + pydantic_versions=("1.8.2" "1.9.0" "2.0.1") + + # Loop through each version of Pydantic + for version in "${pydantic_versions[@]}" + do + echo "========================================" + echo "Testing with Pydantic version $version" + echo "========================================" + + # Install specific version of Pydantic + pip install "pydantic==$version" + + # Run your tests + pytest || { echo "Tests failed for Pydantic version $version"; exit 1; } + + echo "========================================" + echo "Finished testing with Pydantic version $version" + echo "========================================" + done + + echo "All tests completed successfully!" \ No newline at end of file diff --git a/tests/v1/conftest.py b/tests/v1/conftest.py new file mode 100644 index 0000000..22d3b70 --- /dev/null +++ b/tests/v1/conftest.py @@ -0,0 +1,12 @@ +import importlib + +import pytest + +from githubapp.v1.config import Config + + +@pytest.fixture(autouse=True) +def config(monkeypatch): + monkeypatch.setenv("PRIVATE_KEY", "private_key") + Config.reload() + diff --git a/tests/v1/frameworks/__init__.py b/tests/v1/frameworks/__init__.py new file mode 100644 index 0000000..d5fd57a --- /dev/null +++ b/tests/v1/frameworks/__init__.py @@ -0,0 +1,154 @@ +import inspect +import itertools +import json +import os +import warnings +from abc import abstractmethod +from collections import defaultdict +from typing import _LiteralGenericAlias +from unittest.mock import patch, Mock + +import pytest +from github import GithubIntegration + +from githubapp.v1.events.event import Event +from githubapp.v1.handlers.handler import Handler + + +def get_events(event=Event): + if events := [get_events(e) for e in event.__subclasses__()]: + return [item for sublist in events for item in sublist] + return [event] + + +def get_payloads(): + def _extract_literal_values(event): + values = {} + for name, field in event.model_fields.items(): + if isinstance(field.annotation, _LiteralGenericAlias): + values[name] = field.annotation.__args__[0] + return values + + def _get_payload_filename(event): + values = _extract_literal_values(event) + event_name = values.pop("event") + other = values.popitem()[1] + return f"{event_name}.{other}.json" + + payloads_directory = "payloads" + if not os.getcwd().endswith("tests"): + payloads_directory = f"tests/v1/{payloads_directory}" + + return [(e, f"{payloads_directory}/{_get_payload_filename(e)}") for e in get_events()] + + +class MetaTestCase(type): + def __init__(cls, name, bases, attrs): + prefixes = ["setup", "teardown"] + suffixes = ["method", "class"] + # Generate all combinations + combinations = list(itertools.product(prefixes, suffixes)) + + # Format the combinations as strings + formatted_combinations = {f"{prefix}_{suffix}" for prefix, suffix in combinations} + for method_name in formatted_combinations: + if bases and method_name in attrs and attrs[method_name] != any(base.setup_method for base in bases): + code = inspect.getsource(attrs[method_name]) + if f"super().{method_name}(" not in code: + warnings.warn(f"'{method_name}' in {name} has been overridden and no super is called") + super().__init__(name, bases, attrs) + + +class DefaultTests(metaclass=MetaTestCase): + client = None + _patches = {} + + def setup_method(self): + self.client = self.get_client() + Handler._handlers = defaultdict(list) + + @classmethod + def setup_class(cls): + cls.app = cls.get_app() + cls._patches[cls] = [] + cls._patches[cls].append(patch.object(GithubIntegration, "get_access_token", return_value=Mock(token="token"))) + for p in cls._patches[cls]: + p.start() + + @classmethod + def teardown_class(cls): + for p in cls._patches[cls]: + p.stop() + + @classmethod + @abstractmethod + def get_client(cls): + raise NotImplementedError + + @classmethod + @abstractmethod + def get_app(cls): + raise NotImplementedError + + def test_default_root(self): + response = self.client.get("/") + assert response.status_code == 200 + assert response.text == "

Test App up and running!

" + + def test_404(self): + response = self.client.get("/not_found") + assert response.status_code == 404 + + def test_register_root_endpoint(self): + self.register_get_in_root_endpoint(lambda: "index") + response = self.client.get("/") + assert response.status_code == 200 + assert response.text == "index" + + @pytest.mark.parametrize("event_class,event_file", get_payloads()) + def test_handle(self, event_class, event_file, monkeypatch): + monkeypatch.setenv("PRIVATE_KEY", "private_key") + events_handled = [] + + events_to_handle = event_class.get_events() + for event_to_handle in events_to_handle: + + def register_handler(event_to_handle_): + @self.app.handle_event(event_to_handle_) + def handler(event_handled: Event): + assert issubclass( + type(event_handled), event_to_handle_ + ), f"Expected type '{event_to_handle_.__name__}', but got type '{type(event_handled).__name__}'" + events_handled.append(event_to_handle_) + + register_handler(event_to_handle) + + with open(event_file) as file: + payload = json.load(file) + headers = payload["headers"] + data = payload["data"] + response = self.client.post("/", headers=headers, json=data) + self.assert_events_handled(events_handled, events_to_handle) + assert response.status_code == 200, response.text + + @abstractmethod + def register_get_in_root_endpoint(self, method): + raise NotImplementedError + + @staticmethod + def assert_events_handled(events_handled, events_to_handle) -> None: + events_handled_set = set(events_handled) + events_to_handle_set = set(events_to_handle) + if not events_handled_set == events_to_handle_set: + if diff := events_to_handle_set - events_handled_set: + raise AssertionError( + f"{diff} events not handled.\n" + f"Events handled: {events_handled}\n" + f"Events to handle: {events_to_handle}" + ) + elif diff := events_handled_set - events_to_handle_set: + raise AssertionError( + f"These events were handled but shouldn't: {diff}\n" + f"Events handled: {events_handled}\n" + f"Events to handle: {events_to_handle}" + ) diff --git a/tests/v1/frameworks/test_flask.py b/tests/v1/frameworks/test_flask.py new file mode 100644 index 0000000..45397c2 --- /dev/null +++ b/tests/v1/frameworks/test_flask.py @@ -0,0 +1,25 @@ +import pytest + +from tests.v1.frameworks import DefaultTests +from githubapp.v1.handlers import FlaskHandler + +@pytest.fixture +def client(): + app = FlaskHandler("Test") + + yield app.test_client() + + +class TestFlaskHandler(DefaultTests): + @classmethod + def get_client(cls): + return cls.get_app().test_client() + + @classmethod + def get_app(cls): + return FlaskHandler("Test") + + def register_get_in_root_endpoint(self, method): + self.client.application.route("/", methods=["GET"])(method) + + diff --git a/tests/v1/handlers/test_handler.py b/tests/v1/handlers/test_handler.py new file mode 100644 index 0000000..88340fb --- /dev/null +++ b/tests/v1/handlers/test_handler.py @@ -0,0 +1,33 @@ +from unittest.mock import patch + +import pytest + +from githubapp.v1.events.event import Event +from githubapp.v1.handlers.handler import Handler + + +def test_handler(): + class HandlerTest(Handler): + def extract_headers_and_body(self) -> tuple[dict, dict]: + return {"header": "value"}, {"body": "value"} + + handler = HandlerTest() + with ( + patch.object(Event, "instantiate_from_subclasses") as instantiate_from_subclasses, + patch("githubapp.v1.handlers.handler.set_auth") as set_auth, + patch("githubapp.v1.handlers.handler.handle"), # TODO remove only launch v1 + ): + handler._handle() + instantiate_from_subclasses.assert_called_once_with({"header": "value"}, {"body": "value"}) + fake_event = instantiate_from_subclasses.return_value + set_auth.assert_called_once_with(fake_event.hook_installation_target_id, fake_event.installation["id"]) + + +def test_handler_not_implemented_error(): + # noinspection PyAbstractClass + class HandlerTest(Handler): + pass + + handler = HandlerTest() + with pytest.raises(NotImplementedError): + handler._handle() diff --git a/tests/v1/payloads/check_run.completed.json b/tests/v1/payloads/check_run.completed.json new file mode 100644 index 0000000..e5ed53d --- /dev/null +++ b/tests/v1/payloads/check_run.completed.json @@ -0,0 +1 @@ +{"headers": {"User-Agent": "GitHub-Hookshot/245e19a", "X-Github-Delivery": "2df44c60-873b-11ef-9aeb-917a6a9c1628", "X-Github-Event": "check_run", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "Content-Type": "application/json"}, "data": {"action": "completed", "check_run": {"name": "Releaser", "head_sha": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", "external_id": "", "url": "https://api.github.com/repos/heitorpolidoro/tests/check-runs/31373441805", "html_url": "https://github.com/heitorpolidoro/tests/runs/31373441805", "details_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "status": "completed", "conclusion": "success", "started_at": "2024-10-10T19:09:30Z", "completed_at": "2024-10-10T19:09:31Z", "output": {"title": "No release command found", "summary": "", "text": null, "annotations_count": 0, "annotations_url": "https://api.github.com/repos/heitorpolidoro/tests/check-runs/31373441805/annotations"}, "check_suite": {"head_branch": "master", "head_sha": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", "status": "completed", "conclusion": "success", "url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565861", "before": "b13c06084b1ab8aed2adb9554825dc87d5afbc9f", "after": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", "pull_requests": [], "app": {"client_id": "Iv1.5940f9f62421c880", "slug": "bartholomew-smith", "owner": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "created_at": "2024-10-10T17:31:05Z", "updated_at": "2024-10-10T19:09:31Z"}, "app": {"client_id": "Iv1.5940f9f62421c880", "slug": "bartholomew-smith", "owner": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "pull_requests": []}, "repository": {"name": "tests", "full_name": "heitorpolidoro/tests", "private": false, "owner": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/tests", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/tests", "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", "created_at": "2024-05-01T14:55:28Z", "updated_at": "2024-10-10T17:31:08Z", "pushed_at": "2024-10-10T17:31:04Z", "git_url": "git://github.com/heitorpolidoro/tests.git", "ssh_url": "git@github.com:heitorpolidoro/tests.git", "clone_url": "https://github.com/heitorpolidoro/tests.git", "svn_url": "https://github.com/heitorpolidoro/tests", "homepage": null, "size": 3, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 3, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 3, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 12345678}}} \ No newline at end of file diff --git a/tests/v1/payloads/check_run.created.json b/tests/v1/payloads/check_run.created.json new file mode 100644 index 0000000..172d1ea --- /dev/null +++ b/tests/v1/payloads/check_run.created.json @@ -0,0 +1 @@ +{"headers": {"User-Agent": "GitHub-Hookshot/245e19a", "X-Github-Delivery": "2d6ad110-873b-11ef-89c0-f48fa07087f4", "X-Github-Event": "check_run", "X-Github-Hook-Id": "447638328", "X-Github-Hook-Installation-Target-Id": "681139", "X-Github-Hook-Installation-Target-Type": "integration", "Content-Type": "application/json"}, "data": {"action": "created", "check_run": {"name": "Releaser", "head_sha": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", "external_id": "", "url": "https://api.github.com/repos/heitorpolidoro/tests/check-runs/31373441805", "html_url": "https://github.com/heitorpolidoro/tests/runs/31373441805", "details_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "status": "in_progress", "conclusion": null, "started_at": "2024-10-10T19:09:30Z", "completed_at": null, "output": {"title": "Initializing...", "summary": "", "text": null, "annotations_count": 0, "annotations_url": "https://api.github.com/repos/heitorpolidoro/tests/check-runs/31373441805/annotations"}, "check_suite": {"head_branch": "master", "head_sha": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", "status": "in_progress", "conclusion": null, "url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565861", "before": "b13c06084b1ab8aed2adb9554825dc87d5afbc9f", "after": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", "pull_requests": [], "app": {"client_id": "Iv1.5940f9f62421c880", "slug": "bartholomew-smith", "owner": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "created_at": "2024-10-10T17:31:05Z", "updated_at": "2024-10-10T19:09:30Z"}, "app": {"client_id": "Iv1.5940f9f62421c880", "slug": "bartholomew-smith", "owner": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "name": "Bartholomew Smith", "description": "", "external_url": "https://github.com/heitorpolidoro/bartholomew-smith/", "html_url": "https://github.com/apps/bartholomew-smith", "created_at": "2024-01-09T21:24:59Z", "updated_at": "2024-01-26T20:55:24Z", "permissions": {"checks": "write", "contents": "write", "issues": "write", "metadata": "read", "pull_requests": "write"}, "events": ["check_suite", "issues"]}, "pull_requests": []}, "repository": {"name": "tests", "full_name": "heitorpolidoro/tests", "private": false, "owner": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "html_url": "https://github.com/heitorpolidoro/tests", "description": null, "fork": false, "url": "https://api.github.com/repos/heitorpolidoro/tests", "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", "created_at": "2024-05-01T14:55:28Z", "updated_at": "2024-10-10T17:31:08Z", "pushed_at": "2024-10-10T17:31:04Z", "git_url": "git://github.com/heitorpolidoro/tests.git", "ssh_url": "git@github.com:heitorpolidoro/tests.git", "clone_url": "https://github.com/heitorpolidoro/tests.git", "svn_url": "https://github.com/heitorpolidoro/tests", "homepage": null, "size": 3, "stargazers_count": 0, "watchers_count": 0, "language": "Python", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": false, "has_pages": false, "has_discussions": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 3, "license": null, "allow_forking": true, "is_template": false, "web_commit_signoff_required": false, "topics": [], "visibility": "public", "forks": 0, "open_issues": 3, "watchers": 0, "default_branch": "master"}, "sender": {"login": "heitorpolidoro", "url": "https://api.github.com/users/heitorpolidoro", "html_url": "https://github.com/heitorpolidoro", "followers_url": "https://api.github.com/users/heitorpolidoro/followers", "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", "repos_url": "https://api.github.com/users/heitorpolidoro/repos", "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", "type": "User", "site_admin": false}, "installation": {"id": 12345678}}} \ No newline at end of file diff --git a/tests/v1/payloads/check_suite.completed.json b/tests/v1/payloads/check_suite.completed.json new file mode 100644 index 0000000..5abf1c7 --- /dev/null +++ b/tests/v1/payloads/check_suite.completed.json @@ -0,0 +1,181 @@ +{ + "headers": { + "User-Agent": "GitHub-Hookshot/245e19a", + "X-Github-Delivery": "2df07bd0-873b-11ef-9e32-fdc90a000d83", + "X-Github-Event": "check_suite", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "Content-Type": "application/json" + }, + "data": { + "action": "completed", + "check_suite": { + "head_branch": "master", + "head_sha": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", + "status": "completed", + "conclusion": "success", + "url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565861", + "before": "b13c06084b1ab8aed2adb9554825dc87d5afbc9f", + "after": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", + "pull_requests": [], + "app": { + "slug": "polidoroapptest", + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "name": "PolidoroAppTest", + "description": "", + "external_url": "https://github.com/heitorpolidoro/github-app-test", + "html_url": "https://github.com/apps/polidoroapptest", + "created_at": "2024-01-09T21:24:59Z", + "updated_at": "2024-01-26T20:55:24Z" + }, + "created_at": "2024-10-10T17:31:05Z", + "updated_at": "2024-10-10T19:09:31Z", + "rerequestable": true, + "runs_rerequestable": true, + "latest_check_runs_count": 2, + "check_runs_url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565861/check-runs", + "head_commit": { + "tree_id": "8d4fec335cf7c91ea1a913a815ff0e01c3db9701", + "message": "Update README.md", + "timestamp": "2024-10-10T17:31:04Z", + "author": { + "name": "Heitor Polidoro", + "email": "heitor.polidoro@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + } + }, + "repository": { + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-10-10T17:31:08Z", + "pushed_at": "2024-10-10T17:31:04Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 3, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 12345678 + } + } +} diff --git a/tests/v1/payloads/check_suite.requested.json b/tests/v1/payloads/check_suite.requested.json new file mode 100644 index 0000000..8639766 --- /dev/null +++ b/tests/v1/payloads/check_suite.requested.json @@ -0,0 +1,181 @@ +{ + "headers": { + "User-Agent": "GitHub-Hookshot/245e19a", + "X-Github-Delivery": "6de24c40-872d-11ef-9df6-3ebb277cf397", + "X-Github-Event": "check_suite", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "Content-Type": "application/json" + }, + "data": { + "action": "requested", + "check_suite": { + "head_branch": "master", + "head_sha": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565746", + "before": "b13c06084b1ab8aed2adb9554825dc87d5afbc9f", + "after": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", + "pull_requests": [], + "app": { + "slug": "polidoroapptest", + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "name": "PolidoroAppTest", + "description": "", + "external_url": "https://github.com/heitorpolidoro/github-app-test", + "html_url": "https://github.com/apps/polidoroapptest", + "created_at": "2023-12-07T18:50:49Z", + "updated_at": "2024-08-28T12:31:18Z" + }, + "created_at": "2024-10-10T17:31:05Z", + "updated_at": "2024-10-10T17:31:05Z", + "rerequestable": true, + "runs_rerequestable": true, + "latest_check_runs_count": 0, + "check_runs_url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565746/check-runs", + "head_commit": { + "tree_id": "8d4fec335cf7c91ea1a913a815ff0e01c3db9701", + "message": "Update README.md", + "timestamp": "2024-10-10T17:31:04Z", + "author": { + "name": "Heitor Polidoro", + "email": "heitor.polidoro@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + } + }, + "repository": { + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-05-30T20:32:26Z", + "pushed_at": "2024-10-10T17:31:04Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 12345678 + } + } +} diff --git a/tests/v1/payloads/check_suite.rerequested.json b/tests/v1/payloads/check_suite.rerequested.json new file mode 100644 index 0000000..df274e2 --- /dev/null +++ b/tests/v1/payloads/check_suite.rerequested.json @@ -0,0 +1,181 @@ +{ + "headers": { + "User-Agent": "GitHub-Hookshot/245e19a", + "X-Github-Delivery": "6de24c40-872d-11ef-9df6-3ebb277cf397", + "X-Github-Event": "check_suite", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "Content-Type": "application/json" + }, + "data": { + "action": "rerequested", + "check_suite": { + "head_branch": "master", + "head_sha": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", + "status": "queued", + "conclusion": null, + "url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565746", + "before": "b13c06084b1ab8aed2adb9554825dc87d5afbc9f", + "after": "3d85673bcd8bfc369116ffb447bfc7f1d86eef7b", + "pull_requests": [], + "app": { + "slug": "polidoroapptest", + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "name": "PolidoroAppTest", + "description": "", + "external_url": "https://github.com/heitorpolidoro/github-app-test", + "html_url": "https://github.com/apps/polidoroapptest", + "created_at": "2023-12-07T18:50:49Z", + "updated_at": "2024-08-28T12:31:18Z" + }, + "created_at": "2024-10-10T17:31:05Z", + "updated_at": "2024-10-10T17:31:05Z", + "rerequestable": true, + "runs_rerequestable": true, + "latest_check_runs_count": 0, + "check_runs_url": "https://api.github.com/repos/heitorpolidoro/tests/check-suites/29472565746/check-runs", + "head_commit": { + "tree_id": "8d4fec335cf7c91ea1a913a815ff0e01c3db9701", + "message": "Update README.md", + "timestamp": "2024-10-10T17:31:04Z", + "author": { + "name": "Heitor Polidoro", + "email": "heitor.polidoro@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + } + }, + "repository": { + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-05-30T20:32:26Z", + "pushed_at": "2024-10-10T17:31:04Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 12345678 + } + } +} diff --git a/tests/v1/payloads/issues.edited.json b/tests/v1/payloads/issues.edited.json new file mode 100644 index 0000000..1ce5d14 --- /dev/null +++ b/tests/v1/payloads/issues.edited.json @@ -0,0 +1,186 @@ +{ + "headers": { + "User-Agent": "GitHub-Hookshot/62769f2", + "X-Github-Delivery": "504e6c00-653a-11ef-9991-0023f0cae742", + "X-Github-Event": "issues", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "Content-Type": "application/json" + }, + "data": { + "action": "edited", + "issue": { + "url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1", + "repository_url": "https://api.github.com/repos/heitorpolidoro/tests", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/comments", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/events", + "html_url": "https://github.com/heitorpolidoro/tests/issues/1", + "number": 1, + "title": "Issue", + "user": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2024-08-27T18:00:00Z", + "updated_at": "2024-08-28T12:37:39Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "body": null, + "reactions": { + "url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "changes": { + "title": { + "from": "Issue " + } + }, + "repository": { + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-05-30T20:32:26Z", + "pushed_at": "2024-07-22T14:59:18Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 12345678 + } + } +} diff --git a/tests/v1/payloads/issues.opened.json b/tests/v1/payloads/issues.opened.json new file mode 100644 index 0000000..e4e31ea --- /dev/null +++ b/tests/v1/payloads/issues.opened.json @@ -0,0 +1,181 @@ +{ + "headers": { + "User-Agent": "GitHub-Hookshot/62769f2", + "X-Github-Delivery": "504e6c00-653a-11ef-9991-0023f0cae742", + "X-Github-Event": "issues", + "X-Github-Hook-Id": "447638328", + "X-Github-Hook-Installation-Target-Id": "681139", + "X-Github-Hook-Installation-Target-Type": "integration", + "Content-Type": "application/json" + }, + "data": { + "action": "opened", + "issue": { + "url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1", + "repository_url": "https://api.github.com/repos/heitorpolidoro/tests", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/comments", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/events", + "html_url": "https://github.com/heitorpolidoro/tests/issues/1", + "number": 1, + "title": "Issue", + "user": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2024-08-27T18:00:00Z", + "updated_at": "2024-08-27T18:00:00Z", + "closed_at": null, + "author_association": "OWNER", + "active_lock_reason": null, + "body": null, + "reactions": { + "url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "repository": { + "name": "tests", + "full_name": "heitorpolidoro/tests", + "private": false, + "owner": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/heitorpolidoro/tests", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/heitorpolidoro/tests", + "forks_url": "https://api.github.com/repos/heitorpolidoro/tests/forks", + "keys_url": "https://api.github.com/repos/heitorpolidoro/tests/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/heitorpolidoro/tests/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/heitorpolidoro/tests/teams", + "hooks_url": "https://api.github.com/repos/heitorpolidoro/tests/hooks", + "issue_events_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/events{/number}", + "events_url": "https://api.github.com/repos/heitorpolidoro/tests/events", + "assignees_url": "https://api.github.com/repos/heitorpolidoro/tests/assignees{/user}", + "branches_url": "https://api.github.com/repos/heitorpolidoro/tests/branches{/branch}", + "tags_url": "https://api.github.com/repos/heitorpolidoro/tests/tags", + "blobs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/heitorpolidoro/tests/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/heitorpolidoro/tests/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/heitorpolidoro/tests/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/heitorpolidoro/tests/statuses/{sha}", + "languages_url": "https://api.github.com/repos/heitorpolidoro/tests/languages", + "stargazers_url": "https://api.github.com/repos/heitorpolidoro/tests/stargazers", + "contributors_url": "https://api.github.com/repos/heitorpolidoro/tests/contributors", + "subscribers_url": "https://api.github.com/repos/heitorpolidoro/tests/subscribers", + "subscription_url": "https://api.github.com/repos/heitorpolidoro/tests/subscription", + "commits_url": "https://api.github.com/repos/heitorpolidoro/tests/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/heitorpolidoro/tests/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/heitorpolidoro/tests/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/heitorpolidoro/tests/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/heitorpolidoro/tests/contents/{+path}", + "compare_url": "https://api.github.com/repos/heitorpolidoro/tests/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/heitorpolidoro/tests/merges", + "archive_url": "https://api.github.com/repos/heitorpolidoro/tests/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/heitorpolidoro/tests/downloads", + "issues_url": "https://api.github.com/repos/heitorpolidoro/tests/issues{/number}", + "pulls_url": "https://api.github.com/repos/heitorpolidoro/tests/pulls{/number}", + "milestones_url": "https://api.github.com/repos/heitorpolidoro/tests/milestones{/number}", + "notifications_url": "https://api.github.com/repos/heitorpolidoro/tests/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/heitorpolidoro/tests/labels{/name}", + "releases_url": "https://api.github.com/repos/heitorpolidoro/tests/releases{/id}", + "deployments_url": "https://api.github.com/repos/heitorpolidoro/tests/deployments", + "created_at": "2024-05-01T14:55:28Z", + "updated_at": "2024-05-30T20:32:26Z", + "pushed_at": "2024-07-22T14:59:18Z", + "git_url": "git://github.com/heitorpolidoro/tests.git", + "ssh_url": "git@github.com:heitorpolidoro/tests.git", + "clone_url": "https://github.com/heitorpolidoro/tests.git", + "svn_url": "https://github.com/heitorpolidoro/tests", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Python", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "heitorpolidoro", + "url": "https://api.github.com/users/heitorpolidoro", + "html_url": "https://github.com/heitorpolidoro", + "followers_url": "https://api.github.com/users/heitorpolidoro/followers", + "following_url": "https://api.github.com/users/heitorpolidoro/following{/other_user}", + "gists_url": "https://api.github.com/users/heitorpolidoro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/heitorpolidoro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/heitorpolidoro/subscriptions", + "organizations_url": "https://api.github.com/users/heitorpolidoro/orgs", + "repos_url": "https://api.github.com/users/heitorpolidoro/repos", + "events_url": "https://api.github.com/users/heitorpolidoro/events{/privacy}", + "received_events_url": "https://api.github.com/users/heitorpolidoro/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 12345678 + } + } +} diff --git a/tests/v1/test_event.py b/tests/v1/test_event.py new file mode 100644 index 0000000..6506944 --- /dev/null +++ b/tests/v1/test_event.py @@ -0,0 +1,30 @@ +from pydantic import ValidationError + +from githubapp.v1.events.event import Event + +# TODO +# when ve.errors()[.]["type"] == "literal_error" -> wrong value for something +# else +def test_instantiate_from_subclasses(): + try: + Event.instantiate_from_subclasses( + { + "content_length": "8355", + "content_type": "application/json", + "delivery": "504e6c00-653a-11ef-9991-0023f0cae742", + "event": "no_event", + "hook_id": "447638328", + "hook_installation_target_id": "681139", + "hook_installation_target_type": "integration", + "host": "localhost", + "user_agent": "GitHub-Hookshot/62769f2", + }, + { + "installation": {"id": 45043978}, + "repository": { + "id": 794598641, + }, + }, + ) + except ValidationError as ve: + print(ve) diff --git a/tests/v1/test_events.py b/tests/v1/test_events.py new file mode 100644 index 0000000..49d1f37 --- /dev/null +++ b/tests/v1/test_events.py @@ -0,0 +1,60 @@ +import os +from unittest.mock import patch + +from githubapp.v1.config import Config +from githubapp.v1.events import set_auth + + +def test_set_auth_with_env(monkeypatch): + monkeypatch.setenv("PRIVATE_KEY", "FAKE_KEY") + Config.reload() + with ( + patch("githubapp.v1.events.AppAuth") as app_auth, + patch("githubapp.v1.events.GithubIntegration") as github_integration, + patch("githubapp.v1.events.Token") as token, + ): + set_auth(1, 2) + app_auth.assert_called_once_with(1, "FAKE_KEY") + github_integration.assert_called_once_with(auth=app_auth.return_value) + + gh_integration = github_integration.return_value + gh_integration.get_access_token.assert_called_once_with(2) + + token.assert_called_once_with(gh_integration.get_access_token.return_value.token) + +def test_set_auth_with_file(monkeypatch, tmp_path): + monkeypatch.setenv("PRIVATE_KEY", "") + private_key = tmp_path / "private-key.pem" + private_key.write_text("FAKE_KEY") + Config.reload() + orig_dir = os.getcwd() + os.chdir(tmp_path) + with ( + patch("githubapp.v1.events.AppAuth") as app_auth, + patch("githubapp.v1.events.GithubIntegration") as github_integration, + patch("githubapp.v1.events.Token") as token, + ): + set_auth(1, 2) + app_auth.assert_called_once_with(1, "FAKE_KEY") + github_integration.assert_called_once_with(auth=app_auth.return_value) + + gh_integration = github_integration.return_value + gh_integration.get_access_token.assert_called_once_with(2) + + token.assert_called_once_with(gh_integration.get_access_token.return_value.token) + os.chdir(orig_dir) + +def test_set_auth_without_private_key(monkeypatch): + monkeypatch.setenv("PRIVATE_KEY", "") + Config.reload() + orig_dir = os.getcwd() + with ( + patch("githubapp.v1.events.AppAuth") as app_auth, + patch("githubapp.v1.events.GithubIntegration") as github_integration, + patch("githubapp.v1.events.Token") as token, + ): + set_auth(1, 2) + app_auth.assert_not_called() + github_integration.assert_not_called() + token.assert_not_called() + os.chdir(orig_dir) diff --git a/tests/v1/test_transition_to_v1.py b/tests/v1/test_transition_to_v1.py new file mode 100644 index 0000000..4fa2a87 --- /dev/null +++ b/tests/v1/test_transition_to_v1.py @@ -0,0 +1,14 @@ +from githubapp.events.event import Event as EventV0 +from githubapp.v1.events.event import Event as EventV1 + +def get_events(event:type[EventV0 | EventV1]) -> list[type[EventV0|EventV1]]: + events = [] + for sub_event in event.__subclasses__(): + if sub_event.__subclasses__(): + events.extend(get_events(sub_event)) + else: + events.append(sub_event.__name__) + return events +def test_ensure_event_unicity(): + dup_events = set(get_events(EventV1)).intersection(set(get_events(EventV0))) + assert not dup_events, f"Remove duplicated events {dup_events} from V0" From d34f012291bd736b4bb6d01af55d5ca6f81fabad Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Thu, 7 Aug 2025 13:03:00 +0000 Subject: [PATCH 2/2] style: format code with Black, isort and Ruff Formatter This commit fixes the style issues introduced in fed4c65 according to the output from Black, isort and Ruff Formatter. Details: https://github.com/heitorpolidoro/github-app-handler/pull/233 --- tests/v1/conftest.py | 2 -- tests/v1/frameworks/__init__.py | 33 +++++++++++++++++++++---------- tests/v1/frameworks/test_flask.py | 7 +++---- tests/v1/handlers/test_handler.py | 13 ++++++++---- tests/v1/test_event.py | 2 +- tests/v1/test_events.py | 10 ++++++++-- tests/v1/test_transition_to_v1.py | 5 ++++- 7 files changed, 48 insertions(+), 24 deletions(-) diff --git a/tests/v1/conftest.py b/tests/v1/conftest.py index 22d3b70..1cdbb38 100644 --- a/tests/v1/conftest.py +++ b/tests/v1/conftest.py @@ -1,7 +1,6 @@ import importlib import pytest - from githubapp.v1.config import Config @@ -9,4 +8,3 @@ def config(monkeypatch): monkeypatch.setenv("PRIVATE_KEY", "private_key") Config.reload() - diff --git a/tests/v1/frameworks/__init__.py b/tests/v1/frameworks/__init__.py index d5fd57a..0107889 100644 --- a/tests/v1/frameworks/__init__.py +++ b/tests/v1/frameworks/__init__.py @@ -6,11 +6,10 @@ from abc import abstractmethod from collections import defaultdict from typing import _LiteralGenericAlias -from unittest.mock import patch, Mock +from unittest.mock import Mock, patch import pytest from github import GithubIntegration - from githubapp.v1.events.event import Event from githubapp.v1.handlers.handler import Handler @@ -39,7 +38,9 @@ def _get_payload_filename(event): if not os.getcwd().endswith("tests"): payloads_directory = f"tests/v1/{payloads_directory}" - return [(e, f"{payloads_directory}/{_get_payload_filename(e)}") for e in get_events()] + return [ + (e, f"{payloads_directory}/{_get_payload_filename(e)}") for e in get_events() + ] class MetaTestCase(type): @@ -50,12 +51,20 @@ def __init__(cls, name, bases, attrs): combinations = list(itertools.product(prefixes, suffixes)) # Format the combinations as strings - formatted_combinations = {f"{prefix}_{suffix}" for prefix, suffix in combinations} + formatted_combinations = { + f"{prefix}_{suffix}" for prefix, suffix in combinations + } for method_name in formatted_combinations: - if bases and method_name in attrs and attrs[method_name] != any(base.setup_method for base in bases): + if ( + bases + and method_name in attrs + and attrs[method_name] != any(base.setup_method for base in bases) + ): code = inspect.getsource(attrs[method_name]) if f"super().{method_name}(" not in code: - warnings.warn(f"'{method_name}' in {name} has been overridden and no super is called") + warnings.warn( + f"'{method_name}' in {name} has been overridden and no super is called" + ) super().__init__(name, bases, attrs) @@ -71,7 +80,11 @@ def setup_method(self): def setup_class(cls): cls.app = cls.get_app() cls._patches[cls] = [] - cls._patches[cls].append(patch.object(GithubIntegration, "get_access_token", return_value=Mock(token="token"))) + cls._patches[cls].append( + patch.object( + GithubIntegration, "get_access_token", return_value=Mock(token="token") + ) + ) for p in cls._patches[cls]: p.start() @@ -116,9 +129,9 @@ def test_handle(self, event_class, event_file, monkeypatch): def register_handler(event_to_handle_): @self.app.handle_event(event_to_handle_) def handler(event_handled: Event): - assert issubclass( - type(event_handled), event_to_handle_ - ), f"Expected type '{event_to_handle_.__name__}', but got type '{type(event_handled).__name__}'" + assert issubclass(type(event_handled), event_to_handle_), ( + f"Expected type '{event_to_handle_.__name__}', but got type '{type(event_handled).__name__}'" + ) events_handled.append(event_to_handle_) register_handler(event_to_handle) diff --git a/tests/v1/frameworks/test_flask.py b/tests/v1/frameworks/test_flask.py index 45397c2..91bdafb 100644 --- a/tests/v1/frameworks/test_flask.py +++ b/tests/v1/frameworks/test_flask.py @@ -1,7 +1,8 @@ import pytest +from githubapp.v1.handlers import FlaskHandler from tests.v1.frameworks import DefaultTests -from githubapp.v1.handlers import FlaskHandler + @pytest.fixture def client(): @@ -20,6 +21,4 @@ def get_app(cls): return FlaskHandler("Test") def register_get_in_root_endpoint(self, method): - self.client.application.route("/", methods=["GET"])(method) - - + self.client.application.route("/", methods=["GET"])(method) diff --git a/tests/v1/handlers/test_handler.py b/tests/v1/handlers/test_handler.py index 88340fb..fe15f65 100644 --- a/tests/v1/handlers/test_handler.py +++ b/tests/v1/handlers/test_handler.py @@ -1,7 +1,6 @@ from unittest.mock import patch import pytest - from githubapp.v1.events.event import Event from githubapp.v1.handlers.handler import Handler @@ -13,14 +12,20 @@ def extract_headers_and_body(self) -> tuple[dict, dict]: handler = HandlerTest() with ( - patch.object(Event, "instantiate_from_subclasses") as instantiate_from_subclasses, + patch.object( + Event, "instantiate_from_subclasses" + ) as instantiate_from_subclasses, patch("githubapp.v1.handlers.handler.set_auth") as set_auth, patch("githubapp.v1.handlers.handler.handle"), # TODO remove only launch v1 ): handler._handle() - instantiate_from_subclasses.assert_called_once_with({"header": "value"}, {"body": "value"}) + instantiate_from_subclasses.assert_called_once_with( + {"header": "value"}, {"body": "value"} + ) fake_event = instantiate_from_subclasses.return_value - set_auth.assert_called_once_with(fake_event.hook_installation_target_id, fake_event.installation["id"]) + set_auth.assert_called_once_with( + fake_event.hook_installation_target_id, fake_event.installation["id"] + ) def test_handler_not_implemented_error(): diff --git a/tests/v1/test_event.py b/tests/v1/test_event.py index 6506944..f78c337 100644 --- a/tests/v1/test_event.py +++ b/tests/v1/test_event.py @@ -1,6 +1,6 @@ +from githubapp.v1.events.event import Event from pydantic import ValidationError -from githubapp.v1.events.event import Event # TODO # when ve.errors()[.]["type"] == "literal_error" -> wrong value for something diff --git a/tests/v1/test_events.py b/tests/v1/test_events.py index 49d1f37..659ed63 100644 --- a/tests/v1/test_events.py +++ b/tests/v1/test_events.py @@ -20,7 +20,10 @@ def test_set_auth_with_env(monkeypatch): gh_integration = github_integration.return_value gh_integration.get_access_token.assert_called_once_with(2) - token.assert_called_once_with(gh_integration.get_access_token.return_value.token) + token.assert_called_once_with( + gh_integration.get_access_token.return_value.token + ) + def test_set_auth_with_file(monkeypatch, tmp_path): monkeypatch.setenv("PRIVATE_KEY", "") @@ -41,9 +44,12 @@ def test_set_auth_with_file(monkeypatch, tmp_path): gh_integration = github_integration.return_value gh_integration.get_access_token.assert_called_once_with(2) - token.assert_called_once_with(gh_integration.get_access_token.return_value.token) + token.assert_called_once_with( + gh_integration.get_access_token.return_value.token + ) os.chdir(orig_dir) + def test_set_auth_without_private_key(monkeypatch): monkeypatch.setenv("PRIVATE_KEY", "") Config.reload() diff --git a/tests/v1/test_transition_to_v1.py b/tests/v1/test_transition_to_v1.py index 4fa2a87..718111d 100644 --- a/tests/v1/test_transition_to_v1.py +++ b/tests/v1/test_transition_to_v1.py @@ -1,7 +1,8 @@ from githubapp.events.event import Event as EventV0 from githubapp.v1.events.event import Event as EventV1 -def get_events(event:type[EventV0 | EventV1]) -> list[type[EventV0|EventV1]]: + +def get_events(event: type[EventV0 | EventV1]) -> list[type[EventV0 | EventV1]]: events = [] for sub_event in event.__subclasses__(): if sub_event.__subclasses__(): @@ -9,6 +10,8 @@ def get_events(event:type[EventV0 | EventV1]) -> list[type[EventV0|EventV1]]: else: events.append(sub_event.__name__) return events + + def test_ensure_event_unicity(): dup_events = set(get_events(EventV1)).intersection(set(get_events(EventV0))) assert not dup_events, f"Remove duplicated events {dup_events} from V0"