You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Ziti Webhook Action
v0.1.7
This GitHub workflow action uses Ziti NodeJS SDK to post an event's payload
in JSON format over a Ziti
connection.
name: ziti-webhook-action
on: [ push ]
jobs:
ziti-action:
# Currently only runs on macos
runs-on: macos-latest
name: Ziti Webhook Action
steps:
- uses: openziti/ziti-webhook-action@main
with:
# Identity JSON containing key to access a Ziti network
ziti-id: ${{ secrets.ZITI_WEBHOOK_ACTION_ID }}
# URL to post event payload. Note that the Ziti service
# name must match the hostname of the URL (e.g.
# "someapp.ziti")
webhook-url: 'https://someapp.ziti//plugins/github/webhook'
# Used to create a hash signature of the payload
# to be set in the X-Hub-Signature HTTP header
webhook-secret: ${{ secrets.ZITI_WEBHOOK_SECRET }}
The ziti-id
input is the JSON formatted string of an identity enrolled in a Ziti
netowrk.
The identity can be created by enrolling via the ziti edge enroll path/to/jwt [flags]
command. The ziti
executable can be obtained here.