KAZE

Documentation / Connections

GitHub, GitLab and Bitbucket events

Which code host events Kaze uses and exactly what each one does.

Set up the connection as described in Connecting GitHub, GitLab or Bitbucket. Kaze checks every delivery and ignores events from any repository other than the one connected.

HostHow Kaze checks a deliveryEvent header
GitHubX-Hub-Signature-256: HMAC-SHA256 of the body with your secretX-GitHub-Event
GitLabX-Gitlab-Token equals your secret tokenX-Gitlab-Event
Bitbucket CloudX-Hub-Signature: HMAC-SHA256 of the body with your secretX-Event-Key

A delivery that fails the check gets 401 and changes nothing.

The naming rule

WhatNameExample
Branchthe key in lower case, then the titlepay-26-show-vat-line-on-invoice-pdf
Commitstarts with the key and a colonPAY-26: add VAT line
Pull request titlestarts with the key and a colonPAY-26: Show VAT line on invoice PDF
Pull request descriptionhas Kaze: PAY-26 on its own line

Agents get these names from code in claim_item and get_item. People see them in each item's Code section.

Matching

Kaze looks for the team's item keys (such as PAY-26) in the branch name, pull request title and body, and commit messages. Keys an item had before it was imported also match.

GitHub events

EventKaze does
pingRecords Connected under Recent deliveries
pull_requestLinks or updates the pull request on each item it names. Opened moves the item to In review, merged to Validation, unless the team has turned moves off. Never to Done
pull_request_reviewShows Approved or Changes asked on linked items. Moves nothing
check_suite (completed)Shows checks passing or failing on linked pull requests whose head is that commit
pushRecords the commits that name an item, and the files changed
issues (opened)Adds a request to the inbox

GitLab events

EventKaze does
Merge Request HookLinks or updates the merge request, as pull_request does on GitHub. Draft merge requests show as drafts. approved shows Approved
Pipeline Hook (finished)Shows checks passing or failing. Matched by the merge request, or by the commit at the head of a linked merge request
Push HookRecords the commits that name an item, and the files changed
Issue Hook (opened)Adds a request to the inbox

Projects in nested groups work: connect group/subgroup/project.

Bitbucket events

EventKaze does
pullrequest:created, updated, fulfilled, rejectedLinks or updates the pull request. Fulfilled means merged; rejected means declined
pullrequest:approvedShows Approved. Moves nothing
pullrequest:changes_request_createdShows Changes asked. Moves nothing
repo:commit_status_created, updatedShows checks passing or failing on linked pull requests whose head is that commit
repo:pushRecords the commits that name an item. Bitbucket does not send the files changed

Every other event, on any host, is answered with 202 and recorded as unused.

Recent deliveries

Each connection keeps its last 30 deliveries with what Kaze did, under Settings, Integrations, Recent deliveries.