-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pining provider Due to regresion (#21)
- Loading branch information
Showing
3 changed files
with
64 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
## Requirements | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| terraform | ~> 0.12.0 | | ||
| github | ~> 2.8.0 | | ||
| github | ~> 2.2 | | ||
| local | ~> 1.2 | | ||
|
||
## Providers | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| github | ~> 2.8.0 ~> 2.2 | | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|------|-------------|:----:|:-----:|:-----:| | ||
| active | Indicate of the webhook should receive events | bool | `true` | no | | ||
| enabled | Whether or not to enable this module | bool | `true` | no | | ||
| events | A list of events which should trigger the webhook. | list(string) | `<list>` | no | | ||
| github_anonymous | Github Anonymous API (if `true`, token must not be set as GITHUB_TOKEN or `github_token`) | bool | `false` | no | | ||
| github_base_url | GitHub target API endpoint | string | `https://api.github.com/` | no | | ||
| github_organization | GitHub organization to use when creating webhooks | string | - | yes | | ||
| github_repositories | List of repository names which should be associated with the webhook | list(string) | `<list>` | no | | ||
| github_token | GitHub token used for API access. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable | string | `` | no | | ||
| webhook_content_type | Webhook Content Type (e.g. `json`) | string | `json` | no | | ||
| webhook_insecure_ssl | Webhook Insecure SSL (e.g. trust self-signed certificates) | bool | `false` | no | | ||
| webhook_secret | Webhook secret | string | `` | no | | ||
| webhook_url | Webhook URL | string | - | yes | | ||
|------|-------------|------|---------|:--------:| | ||
| active | Indicate of the webhook should receive events | `bool` | `true` | no | | ||
| enabled | Whether or not to enable this module | `bool` | `true` | no | | ||
| events | A list of events which should trigger the webhook. | `list(string)` | <pre>[<br> "issue_comment",<br> "pull_request",<br> "pull_request_review",<br> "pull_request_review_comment"<br>]</pre> | no | | ||
| github\_anonymous | Github Anonymous API (if `true`, token must not be set as GITHUB\_TOKEN or `github_token`) | `bool` | `false` | no | | ||
| github\_base\_url | GitHub target API endpoint | `string` | `"https://api.github.com/"` | no | | ||
| github\_organization | GitHub organization to use when creating webhooks | `string` | n/a | yes | | ||
| github\_repositories | List of repository names which should be associated with the webhook | `list(string)` | `[]` | no | | ||
| github\_token | GitHub token used for API access. If not provided, can be sourced from the `GITHUB_TOKEN` environment variable | `string` | `""` | no | | ||
| webhook\_content\_type | Webhook Content Type (e.g. `json`) | `string` | `"json"` | no | | ||
| webhook\_insecure\_ssl | Webhook Insecure SSL (e.g. trust self-signed certificates) | `bool` | `false` | no | | ||
| webhook\_secret | Webhook secret | `string` | `""` | no | | ||
| webhook\_url | Webhook URL | `string` | n/a | yes | | ||
|
||
## Outputs | ||
|
||
| Name | Description | | ||
|------|-------------| | ||
| webhook_url | Webhook URL | | ||
| webhook\_url | Webhook URL | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters