Skip to content

proposal: gitea: push webhook: pass commit added / removed / modified files list data #216

Open
@condemil

Description

@condemil

As per #74 commit list in push webhook is supported. As I can see gitea also sends data about added / removed / modified files:

  "commits": [
    {
      "id": "ebc81861191e887a6be60142e845637c95b850f6",
      "message": "add more test prints\n",
      ...
      "verification": null,
      "timestamp": "2022-08-15T23:46:19+03:00",
      "added": [],
      "removed": [],
      "modified": [
        ".drone.star"
      ]
    }
  ],

It would be nice to pass this data to starlark context, this way it will be possible to handle monorepo setup in starlark file by checking what project was modified in monorepo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions