Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit d6daf6a

Browse files
authored
[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 <timo.sand@f-secure.com> * Extract importer to separate function Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Add top-level `Description` field Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Cleanup references/dereferences with `github.Ptr` Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Refactor to use `tflog` instead of `log` Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Refactored the createBranch functionality into a function Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Replace conditions with validation Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Minor cleanup Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Address review comments Signed-off-by: Timo Sand <timo.sand@f-secure.com> * Address review comments Signed-off-by: Timo Sand <timo.sand@f-secure.com> --------- Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent 4c4bbd5 commit d6daf6a

2 files changed

Lines changed: 236 additions & 192 deletions

File tree

0 commit comments

Comments
 (0)