webhook

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package webhook receives GitHub workflow_job events and feeds completed jobs run on ushr runners into the ledger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(secret []byte, sink func(ledger.Record)) http.HandlerFunc

Handler validates the webhook signature with secret and, for each completed workflow_job run on an ushr runner, calls sink with the job's record. Non-job events, non-completed actions, and non-ushr runners are acknowledged and ignored so GitHub doesn't retry them.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL