Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type assertion failure on github_dependabot_organization_secret_repositories.selected_repository_ids #2029

Conversation

rene-bos
Copy link
Contributor

A repository ID is not an int64 as can be seen on

The code is now the same as other places where selected_repository_ids is used (for example here).

Locally tested with our Terraform project.

Resolves #2028


Before the change?

  • The values in selected_repository_ids are asserted of being of the int64 type.

After the change?

  • The values in selected_repository_ids are casted to an int64.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@rene-bos rene-bos force-pushed the fix-dependabot-organization-secret-repositories branch from 5c25c56 to 7845bc2 Compare December 4, 2023 09:39
@nickfloyd nickfloyd added the Type: Bug Something isn't working as documented label Jan 2, 2024
@nickfloyd nickfloyd merged commit 7858e45 into integrations:main Jan 2, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Type assertion failure on github_dependabot_organization_secret_repositories.selected_repository_ids
2 participants