Skip to content

Commit fed1bde

Browse files
committed
Add description to the fields
Signed-off-by: Diogenes Fernandes <[email protected]>
1 parent 8cd6d0b commit fed1bde

2 files changed

Lines changed: 18 additions & 13 deletions

File tree

github/data_source_github_actions_organization_remove_token.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ func dataSourceGithubActionsOrganizationRemoveToken() *schema.Resource {
1717

1818
Schema: map[string]*schema.Schema{
1919
"token": {
20-
Type: schema.TypeString,
21-
Computed: true,
22-
Sensitive: true,
20+
Type: schema.TypeString,
21+
Computed: true,
22+
Sensitive: true,
23+
Description: "Token used to remove a self-hosted runner from an organization.",
2324
},
2425
"expires_at": {
25-
Type: schema.TypeInt,
26-
Computed: true,
26+
Type: schema.TypeInt,
27+
Computed: true,
28+
Description: "The token expiration date.",
2729
},
2830
},
2931
}

github/data_source_github_actions_remove_token.go

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,21 @@ func dataSourceGithubActionsRemoveToken() *schema.Resource {
1717

1818
Schema: map[string]*schema.Schema{
1919
"repository": {
20-
Type: schema.TypeString,
21-
Required: true,
22-
ForceNew: true,
20+
Type: schema.TypeString,
21+
Required: true,
22+
ForceNew: true,
23+
Description: "Repository to remove the self-hosted runner from.",
2324
},
2425
"token": {
25-
Type: schema.TypeString,
26-
Computed: true,
27-
Sensitive: true,
26+
Type: schema.TypeString,
27+
Computed: true,
28+
Sensitive: true,
29+
Description: "Token used to remove a self-hosted runner from a repository.",
2830
},
2931
"expires_at": {
30-
Type: schema.TypeInt,
31-
Computed: true,
32+
Type: schema.TypeInt,
33+
Computed: true,
34+
Description: "The token expiration date.",
3235
},
3336
},
3437
}

0 commit comments

Comments
 (0)