Skip to content

Commit 7858e45

Browse files
authored
[Fix] Type assertion failure on github_dependabot_organization_secret_repositories.selected_repository_ids
2 parents 1e2526d + 86cb4eb commit 7858e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/resource_github_dependabot_organization_secret_repositories.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func resourceGithubDependabotOrganizationSecretRepositoriesCreateOrUpdate(d *sch
5555

5656
ids := selectedRepositories.(*schema.Set).List()
5757
for _, id := range ids {
58-
selectedRepositoryIDs = append(selectedRepositoryIDs, id.(int64))
58+
selectedRepositoryIDs = append(selectedRepositoryIDs, int64(id.(int)))
5959
}
6060

6161
_, err = client.Dependabot.SetSelectedReposForOrgSecret(ctx, owner, secretName, selectedRepositoryIDs)

0 commit comments

Comments
 (0)