Procházet zdrojové kódy

Merge pull request #3547 from aine-etke/add-hookshot-outbound-webhooks

enable hookshot outbound webhooks
pull/3548/head
Slavi Pantaleev před 1 rokem
committed by GitHub
rodič
revize
8a4c71bbbe
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: B5690EEEBB952194
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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 Zobrazit soubor

@@ -153,6 +153,7 @@ matrix_hookshot_jira_oauth_redirect_uri: "{{ matrix_hookshot_urlprefix }}{{ matr

# No need to change these
matrix_hookshot_generic_enabled: true
matrix_hookshot_generic_outbound: true
matrix_hookshot_generic_enableHttpGet: false # noqa var-naming
# Default value of matrix_hookshot_generic_endpoint: "/hookshot/webhooks"
matrix_hookshot_generic_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/webhook"


+ 1
- 0
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Zobrazit soubor

@@ -74,6 +74,7 @@ generic:
# (Optional) Support for generic webhook events. `allowJsTransformationFunctions` will allow users to write short transformation snippets in code, and thus is unsafe in untrusted environments
#
enabled: {{ matrix_hookshot_generic_enabled | to_json }}
outbound: {{ matrix_hookshot_generic_outbound | to_json }}
enableHttpGet: {{ matrix_hookshot_generic_enableHttpGet | to_json }}
urlPrefix: {{ matrix_hookshot_generic_urlPrefix | to_json }}
userIdPrefix: {{ matrix_hookshot_generic_userIdPrefix | to_json }}


Načítá se…
Zrušit
Uložit