Skip to content

Commit cc6e1e9

Browse files
deigaJiayangZhou
authored andcommitted
[MAINT] refactor github_repository_file to use Context-aware provider functions (integrations#3107)
* Refactor `github_repository_file` to use Context-aware functions for easier debugging Signed-off-by: Timo Sand <[email protected]> * Extract importer to separate function Signed-off-by: Timo Sand <[email protected]> * Add top-level `Description` field Signed-off-by: Timo Sand <[email protected]> * Cleanup references/dereferences with `github.Ptr` Signed-off-by: Timo Sand <[email protected]> * Refactor to use `tflog` instead of `log` Signed-off-by: Timo Sand <[email protected]> * Refactored the createBranch functionality into a function Signed-off-by: Timo Sand <[email protected]> * Replace conditions with validation Signed-off-by: Timo Sand <[email protected]> * Minor cleanup Signed-off-by: Timo Sand <[email protected]> * Address review comments Signed-off-by: Timo Sand <[email protected]> * Address review comments Signed-off-by: Timo Sand <[email protected]> --------- Signed-off-by: Timo Sand <[email protected]>
1 parent 35c2afb commit cc6e1e9

2 files changed

Lines changed: 236 additions & 192 deletions

File tree

0 commit comments

Comments
 (0)