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>
This commit is contained in:
Samuel S 2024-07-08 17:12:03 +02:00 committed by GitHub
parent 751ecaafbb
commit 7d5e430ee9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,7 @@ matrix_hookshot_gitlab_instances:
# This will be the "Secret token" you have to enter into all GitLab instances for authentication # 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_secret: ''
matrix_hookshot_gitlab_webhook_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_webhook_endpoint }}" # noqa var-naming
matrix_hookshot_figma_enabled: false matrix_hookshot_figma_enabled: false

View File

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