Code Integrations

Bnder can connect task history with GitHub and GitLab push webhooks. In Discord workspaces, use the integration commands to generate the webhook URL for each repository. If you have any suggestions for integrations, please let us know in the support server.

GitHub

Bnder task workflows can be integrated with GitHub. This integration allows you to mention tasks in commits, which will produce a new entry in the task history with a link to the commit.

Tasks can be closed by mentioning them in a commit message with the keyword closes or closed following a "#" and the task number.

Setup

1

Get the API URL

Use the /integration github command to get a URL.

2

Set the Webhook

Go to the repository settings and add a new webhook with the URL you got from the previous step.

GitHub webhook settings

Select the "push" event. This will trigger the webhook when a commit is pushed to the repository.

3

Save the webhook

Save the webhook and you are done.

Keywords to close tasks

You can close tasks by mentioning them in a commit message with the following keywords followed by a "#" and the task number:

  • closes
  • closing
  • close
  • closed
  • fix
  • fixes
  • fixed
  • resolve
  • resolves
  • resolved

Example commit messages

Added a new feature. Closes #12

Would move task 12 to the "Done" state.

Fixed a bug. Resolved #3, #41

Would move tasks 3 and 41 to the "Done" state.

Closed a task. Fixes #5. Fixed an issue which resolves #13,#14, #15

Would move task 5 to the "Done" state and tasks 13, 14, and 15 to the "Done" state.

GitLab

Bnder task workflows can be integrated with GitLab. This integration allows you to mention tasks in commits, which will produce a new entry in the task history with a link to the commit.

Tasks can be closed by mentioning them in a commit message with the keyword closes or closed following a "#" and the task number.

Setup

1

Get the API URL

Use the /integration gitlab command to get a URL.

2

Set the Webhook

Go to the repository settings and webhooks.

GitLab webhook settings

Select the "Push events" event. This will trigger the webhook when a commit is pushed to the repository.

3

Save the webhook

Save the webhook and you are done.

Keywords to close tasks

You can use the same keywords as in the GitHub integration.