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

Add file support #31

Merged
merged 10 commits into from
May 5, 2022
Merged

Add file support #31

merged 10 commits into from
May 5, 2022

Conversation

galargh
Copy link
Member

@galargh galargh commented Apr 28, 2022

This PR adds support for file management via GitHub Management - via repository_file resource - see https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository_file.

We're going to use it to distribute stalebot workflows and/or CODEOWNERS files.

Not merging yet because if integrations/terraform-provider-github#1129 landed in terraform-provider-github then this could be made more efficient (as in syncing of managed files would require less API calls to GitHub - right now, sync operation when files are managed needs to retrieve the entire repository tree to check if a file still exists).

@galargh galargh merged commit fca7e08 into master May 5, 2022
@galargh galargh deleted the file-support branch May 5, 2022 17:28
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.

1 participant