36 Star 150 Fork 1

Gitee 极速下载 / gitlabhq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gitlabhq/gitlabhq
克隆/下载
discord_notifications.md 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
stage group info
Manage
Import and Integrate
To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments

Discord Notifications

DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated

The Discord Notifications integration sends event notifications from GitLab to the channel for which the webhook was created.

To send GitLab event notifications to a Discord channel, create a webhook in Discord and configure it in GitLab.

Create webhook

  1. Open the Discord channel you want to receive GitLab event notifications.
  2. From the channel menu, select Edit channel.
  3. Select Integrations.
  4. If there are no existing webhooks, select Create Webhook. Otherwise, select View Webhooks then New Webhook.
  5. Enter the name of the bot to post the message.
  6. Optional. Edit the avatar.
  7. Copy the URL from the WEBHOOK URL field.
  8. Select Save.

Configure created webhook in GitLab

  • Event webhook overrides introduced in GitLab 16.3.

With the webhook URL created in the Discord channel, you can set up the Discord Notifications integration in GitLab.

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Settings > Integrations.
  3. Select Discord Notifications.
  4. Ensure that the Active toggle is enabled.
  5. Paste the webhook URL that you created earlier into the Webhook field.
  6. Select the checkboxes corresponding to the GitLab events for which you want to send notifications to Discord.
  7. Optionally for each checkbox that you select, enter a new Discord webhook URL that you have configured to override the default one in the Webhook field.
  8. Configure the remaining options and select the Save changes button.

The Discord channel you created the webhook for now receives notification of the GitLab events that were configured.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mirrors/gitlab.git
git@gitee.com:mirrors/gitlab.git
mirrors
gitlab
gitlabhq
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891