Skip to content

Commit

Permalink
ci: support repository dispatch events
Browse files Browse the repository at this point in the history
We want to automate new container builds via the penumbra repo [0],
so that deploy actions can also update the various services like Hermes,
without human intervention. This commit doesn't implement that
automation, but allows cross-repository API requests to trigger builds.

[0] https://github.com/penumbra-zone/penumbra
  • Loading branch information
conorsch committed Oct 2, 2023
1 parent 88f7316 commit 3a6f952
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ on:
description: 'Git ref (e.g. branch or tag) of Penumbra repo for building'
default: "main"
required: true
# Support triggering builds from penumbra-zone/penumbra CI.
repository_dispatch:
types:
- container-build
inputs:
penumbra_version:
description: 'Git ref (e.g. branch or tag) of Penumbra repo for building'
default: "main"
required: true
push:
branches:
- main
Expand Down

0 comments on commit 3a6f952

Please sign in to comment.