[Intum Help](https://intum.com/help.md) / [Commerce](https://intum.com/help/commerce.md)

# [GitHub - automatic comments on tasks for pull requests](https://intum.com/help/commerce/github-automatic-comments-on-tasks-for-pull-requests.md)

## What this integration does

Connects GitHub with Intum: when a PR is opened or merged, a comment appears under the linked task. The PR description must contain a link to the task.

## How to configure it

1. Install **GitHub Integration (PR webhooks)** from **Account Settings -> Integrations and add-ons**
2. Open the app - it generates a secret and webhook URL
3. In GitHub: **Settings -> Webhooks -> Add webhook**:
    - **Payload URL** - from the Intum app
    - **Content type** - `application/json`
    - **Secret** - from the Intum app
    - **Events** - only **Pull requests**
4. Click **Create connector** in Intum

## How to use it

Paste a task link in the PR description: `https://your-company.intum.com/organize/tasks/123`

- PR opened: comment "New pull request <link>, created by: <login>"
- PR merged: comment "Pull request <link>, merged by: <login>"

## Author mapping

Users need their GitHub login in their Intum profile for proper attribution.

## Security

Events are verified with a digital signature from the shared secret.

## Troubleshooting

- **No comment** - check the task link format in PR description
- **401 error** - secrets don't match
- **Signed "GitHub"** - author's GitHub login missing in Intum profile