Page MenuHomePhabricator

Add webhooks to our GitHub repos so WMDEGHPhabBot can add comments when a PR is opened
Closed, ResolvedPublic

Description

@WMDEGHPhabBot can create comments on Phabricator tickets and add the Patch-For-Review tag when a pull request is opened. This would be beneficial for the cloud team to enable. It involves adding a webhook to each GitHub repository.

Steps to add the webhook:

  • Go to Settings in the GitHub repo
  • Click on Webhooks in the sidebar or the left
  • Click the Add webhooks button in the top right corner
    • Enter https://wmde-github-phab-bot.toolforge.org/webhook as the Payload URL
    • Select application/json as the Content type
    • Enter the Secret (this can be got from @seanleong-WMDE or @Ollie.Shotton_WMDE)
    • Select the Enable SSL verification radio button under SSL verification
    • Select the Let me select individual events. radio button
      • Select only the Pull requests checkbox in the options that appear
    • Click the Add webhook button

Repos to add webhooks to:

  • wbstack/.github
  • wbstack/api
  • wbstack/charts
  • wbstack/cradle
  • wbstack/curl-jq
  • wbstack/docker-build-util
  • wbstack/docs
  • wbstack/elasticsearch
  • wbstack/magnustools
  • wbstack/mediawiki
  • wbstack/mediawiki-extensions-WikibaseInWikitext
  • wbstack/mediawiki-spam-lists
  • wbstack/mediawiki-tars
  • wbstack/pywikibot
  • wbstack/queryservice
  • wbstack/queryservice-gateway
  • wbstack/queryservice-ui
  • wbstack/queryservice-updater
  • wbstack/quickstatements
  • wbstack/terraform-kubernetes-basic-auth
  • wbstack/transferbot
  • wbstack/ui
  • wbstack/widar
  • wmde/wbaas-deploy
  • wmde/wikibase-cloud-status