Skip to content

Conversation

@Durgesh4993
Copy link

Issue #63

# Example usage:
event_data = {
    "action": "closed",
    "merged": True,
    "pull_request": {
        "title": "Example PR Title"
    }
}

handler = PrEventHandler()
handler.handleEvent(event_data)

This would print "PR Merged: Example PR Title" to the console. You can similarly handle other types of events by providing appropriate event data to the handleEvent method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant