Indent webhook notifications Authorization header

Since `Authorization` is intended to be a header applied to HTTP requests it should be indented to place it in the YAML map named `headers` instead of being a sibling of it.
This commit is contained in:
Matthew Balvanz 2021-06-02 08:45:45 -05:00 committed by GitHub
parent fe4fad3bff
commit 1fa75f3129

View file

@ -35,7 +35,7 @@ notifications:
- name: alistener - name: alistener
url: https://mylistener.example.com/event url: https://mylistener.example.com/event
headers: headers:
Authorization: [Bearer <your token, if needed>] Authorization: [Bearer <your token, if needed>]
timeout: 500ms timeout: 500ms
threshold: 5 threshold: 5
backoff: 1s backoff: 1s