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 bots like Galileo,
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 8cb5495 commit a3ebf6d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ 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:
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 a3ebf6d

Please sign in to comment.