Skip to content

Commit

Permalink
core(github): Fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrss committed Oct 24, 2024
1 parent 325b087 commit c86ed5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: 72c60aca479dce0593d6d28e2f006dbc484d8684 # v1.8.35
rev: v1.96.1
hooks:
- id: terraform_fmt
# - id: terraform_docs
- id: terraform_tfsec
- id: terraform_docs
- id: terraform_trivy
- id: terraform_validate
args:
- --init-args=-lockfile=readonly
Expand Down
8 changes: 3 additions & 5 deletions src/github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@ No modules.
| [github_branch_protection.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch_protection) | resource |
| [github_repository.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository) | resource |
| [github_repository_environment.this](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_environment) | resource |
| [github_team.product_admin](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/team) | data source |
| [github_team.service_line_admin](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/team) | data source |
| [github_team.all](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/team) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_product_name"></a> [product\_name](#input\_product\_name) | Name of the product or service these repos belong to | `string` | n/a | yes |
| <a name="input_repositories"></a> [repositories](#input\_repositories) | Repositories to be managed | <pre>list(object({<br/> name = string<br/> description = string<br/> visibility = string<br/> topics = optional(set(string), null)<br/> homepage_url = optional(string, null)<br/> from_template = optional(string, null)<br/> is_template = optional(bool, false)<br/> archived = optional(bool, false)<br/> environments = optional(list(object({<br/> name = string<br/> requires_approval = optional(bool, false)<br/> variables = optional(map(string), {})<br/> })), [])<br/> }))</pre> | n/a | yes |
| <a name="input_service_line"></a> [service\_line](#input\_service\_line) | Name of the service line owner of these repos | `string` | n/a | yes |
| <a name="input_repositories"></a> [repositories](#input\_repositories) | Repositories to be managed | <pre>list(object({<br/> name = string<br/> description = string<br/> visibility = string<br/> topics = optional(set(string), null)<br/> homepage_url = optional(string, null)<br/> from_template = optional(string, null)<br/> is_template = optional(bool, false)<br/> archived = optional(bool, false)<br/> rule_bypassing_teams = set(string)<br/> environments = optional(list(object({<br/> name = string<br/> variables = optional(map(string), {})<br/> require_review_by_teams = optional(set(string), [])<br/> })), [])<br/> }))</pre> | n/a | yes |
| <a name="input_service_line"></a> [service\_line](#input\_service\_line) | name of the service line | `string` | n/a | yes |

## Outputs

Expand Down

0 comments on commit c86ed5c

Please sign in to comment.