Skip to content

[MAINT] migrate github_branch_default to context-aware CRUD functions and tflog#3327

Open
ElenaZvereva wants to merge 1 commit intointegrations:mainfrom
ElenaZvereva:migrate-branch-default-context-tflog
Open

[MAINT] migrate github_branch_default to context-aware CRUD functions and tflog#3327
ElenaZvereva wants to merge 1 commit intointegrations:mainfrom
ElenaZvereva:migrate-branch-default-context-tflog

Conversation

@ElenaZvereva
Copy link
Copy Markdown

@ElenaZvereva ElenaZvereva commented Apr 9, 2026

Part of #2996 and #3070

Before the change?

  • Legacy CRUD functions (Create, Read, Update, Delete) were used in resource_github_branch_default.go.
  • Go's standard log package was used for logging.

After the change?

  • Migrated to context-aware CRUD functions (CreateContext, ReadContext, UpdateContext, DeleteContext).
  • Replaced log usage with HashiCorp's structured logging package tflog.

Pull request checklist

  • Schema migrations have been created if needed (example)
  • 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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

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