Skip to content

Conversation

@deiga
Copy link
Contributor

@deiga deiga commented Dec 25, 2025

Note

This PR is stacked on top of #3020
Review and merge that first

  • Convert resourceGithubActionsOrganizationSecret to use StateUpgraders for schema migrations
  • Convert resourceGithubActionsSecret to use StateUpgraders for schema migrations
  • Convert resourceGithubRepositoryWebhook and resourceGithubOrganizationWebhook schema migrations to use StateUpgraders
  • Convert resourceGithubRepository schema migration to use StateUpgraders

Before the change?

  • Schema Migrations used MigrateState which is from 0.11 of the SDK
  • Converted resources:
    • github_actions_organization_secret
    • github_actions_secret
    • github_repository_webhook
    • github_repository

After the change?

  • Schema Migrations use StateUpgraders which is the default since 0.12 of the SDK

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

@deiga deiga marked this pull request as ready for review December 25, 2025 21:56
@github-actions
Copy link

👋 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! 🚀

- Renamed TESTARGS to COVERAGEARGS for clarity.
- Added variable references and examples for test-specific variables.
- Improved test and acceptance test commands to include branch information and coverage options.

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
…ers` for schema migrations

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
…ema migrations

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
…tionWebhook` schema migrations to use StateUpgraders

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
…ders

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
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