'before' and 'after' key in action event_data #33395
Labels
topic/gitea-actions
related to the actions of Gitea
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
When a PR is synchronized, GitHub's event data includes
before
andafter
keys, representing the head commit hashes of the previous and current pushes. However, Gitea's equivalent does not provide this information.This is essential for developing an AI code-review action that reviews only the current changes by parsing the diff between two commit SHAs.
https://github.com/aidar-freeed/ai-codereviewer/blob/a9a064dfa1db8c83f40ef63f6e247fa09c935ed6/src/main.ts#L197-L209
Is there any way to get this information? or do you have any plan to provide such information?
Screenshots
No response
The text was updated successfully, but these errors were encountered: