8000 Event trigger API · Issue #17 · franela/pocketci · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Event trigger API #17
Open
Open
@matipan

Description

@matipan

At the time of this writing pocketci's events API is simple and expressed on either a YAML file:

events:
  pull_request:
    - main
  push:
    - main

Or on the pocketci module itself:

type EventType string

const (
	PullRequestEvent EventType = "pull_request"
	CommitPushEvent  EventType = "push"
)

This is good enough to get us started playing with the concept of moving some of the orchestrating logic to modules, but it falls apart as soon as you start tackling more complex use cases or you look at how tools other than GitHub handle this.

The goal of this issue is to consolidate research and opinions on what kind of events API pocketci should express and how close those should be to the code written by the user.

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

      0