Skip to content

Commit

Permalink
clarify git_provider type in docs
Browse files Browse the repository at this point in the history
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
  • Loading branch information
chmouel committed Jun 9, 2022
1 parent 1f3f234 commit 7d6df48
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/content/docs/guide/incoming_webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ you will need to have a git_provider spec to specify a token when using the
github-apps method the same way we are doing for github-webhook method. Refer to
the [github webhook documentation](/docs/install/github_webhook) for how to set
this up.

Additionally since we are not able to detect automatically the type of provider
on URL. You will need to add it to the `git_provider.type` spec. Supported
values are:

- github
- gitlab
- bitbucket-cloud

{{< /hint >}}

Here is an example of a Repository CRD matching the target branch main:
Expand Down

0 comments on commit 7d6df48

Please sign in to comment.