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

Allow empty array for org secret selected repos #843

Merged

Conversation

xun-guo-anzx
Copy link
Contributor

Fixes #842

Github API will accept empty/null value for selected_repository_ids when visibility is set to selected.

An empty/null value will set selected repositories list to empty, which should be considered as a valid use case.

Github API will accept empty/null value for selected_repository_ids when visibility is set to selected.
An empty/null value will set selected repositories list to empty, which should be considered as a valid use case
@jcudit jcudit added this to the v4.13.0 milestone Jun 30, 2021
@jcudit jcudit merged commit a5b5b93 into integrations:master Jun 30, 2021
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 26, 2022
Github API will accept empty/null value for selected_repository_ids when visibility is set to selected.
An empty/null value will set selected repositories list to empty, which should be considered as a valid use case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to reset selected_repository_ids to empty for github_actions_organization_secret
2 participants