Skip to content

get-bridge/spinnaker-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spinnaker-webhook

Spinnaker Webhook Tests tag

This action will call the spinnaker webhook with a payload that looks like this:

{
  "token": "${TOKEN}",
  "parameters": {
    "sha": "${GITHUB_SHA}",
    "message": "${COMMIT_MESSAGE}",
    "committer_name": "${COMMITTER_NAME}",
    "committer_email": "${COMMITTER_EMAIL}"
  }
}

Usage

Typical usage of this action looks like this:

- uses: get-bridge/spinnaker-webhook@v2
  with:
    token: ${{ secrets.SPINNAKER_TRIGGER_TOKEN }}
    host: spinnaker-host
    name: project-web-hook

You can also specify these environment variables to remove the with:

SPINNAKER_WEBHOOK_TOKEN
SPINNAKER_WEBHOOK_HOST
SPINNAKER_WEBHOOK_NAME
SPINNAKER_WEBHOOK_SHA
SPINNAKER_WEBHOOK_EXTRA_PARAMS