Parcourir la source

Autocreate webhook in Gitlab instance with Hookshot bot (#3405)

* Add public url for gitlab hookshot to autocreate webhook on gitlab instance

* Add `noqa var-naming` comment to variable

---------

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
pull/3407/head
Samuel S il y a 1 an
committed by GitHub
Parent
révision
7d5e430ee9
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: B5690EEEBB952194
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +1
    -0
      roles/custom/matrix-bridge-hookshot/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 1
- 0
roles/custom/matrix-bridge-hookshot/defaults/main.yml Voir le fichier

@@ -125,6 +125,7 @@ matrix_hookshot_gitlab_instances:

# This will be the "Secret token" you have to enter into all GitLab instances for authentication
matrix_hookshot_gitlab_webhook_secret: ''
matrix_hookshot_gitlab_webhook_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_webhook_endpoint }}" # noqa var-naming


matrix_hookshot_figma_enabled: false


+ 1
- 0
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Voir le fichier

@@ -47,6 +47,7 @@ gitlab:
instances: {{ matrix_hookshot_gitlab_instances | to_json }}
webhook:
secret: {{ matrix_hookshot_gitlab_webhook_secret | to_json }}
publicUrl: {{ matrix_hookshot_gitlab_webhook_publicUrl | to_json }}
{% endif %}
{% if matrix_hookshot_figma_enabled %}
figma:


Chargement…
Annuler
Enregistrer