Skip to content

feat: Update go-github to v89#3526

Open
stevehipwell wants to merge 4 commits into
integrations:mainfrom
stevehipwell:go-github-v89
Open

feat: Update go-github to v89#3526
stevehipwell wants to merge 4 commits into
integrations:mainfrom
stevehipwell:go-github-v89

Conversation

@stevehipwell

@stevehipwell stevehipwell commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Resolves #ISSUE_NUMBER


Before the change?

After the change?

  • Updated go-github to v89.0.0
  • Fixed actions secrets and variables changes
  • Fixed secret drift detection
  • Fixed release resource
  • Updated tests for actions secrets & variables
  • Updated tests for Dependabot secrets
  • Updated docs for actions secrets & variables
  • Updated docs for Dependabot secrets
  • Updated docs for release resource

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

Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
@stevehipwell stevehipwell added this to the v6.14.0 milestone Jul 7, 2026
@stevehipwell stevehipwell self-assigned this Jul 7, 2026
@stevehipwell stevehipwell added the dependencies Pull requests that update a dependency file label Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

👋 Hi, and thank you for this contribution!

This repo is maintained by GitHub and community members on a best-effort basis. We'll get to this as soon as we can.

You can help us prioritize by joining the discussion on open issues and PRs, sharing details on the changes you need, and reviewing other contributions.


🤖 This is an automated message.

@stevehipwell stevehipwell added Type: Bug Something isn't working as documented Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR labels Jul 8, 2026
@stevehipwell stevehipwell marked this pull request as ready for review July 8, 2026 12:49

@deiga deiga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Partial review

})

return varName
// return varName

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Leftover or accidental commit of debugging?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional, it should return this but as it's not used yet I get a linting error.

Comment on lines +564 to +584
// func mustCreateTestRepositoryDependabotSecret(t *testing.T, repo *github.Repository, name, value string) string {
// t.Helper()

// publicKey := mustGetRepositoryDependabotPublicKey(t, repo)

// encryptedBytes, err := encryptPlaintext(value, publicKey.GetKey())
// if err != nil {
// t.Fatalf("failed to encrypt plaintext for test repository dependabot secret: %v", err)
// }
// encryptedValue := base64.StdEncoding.EncodeToString(encryptedBytes)

// if _, err := testAccConf.meta.v3client.Dependabot.CreateOrUpdateRepoSecret(t.Context(), testAccConf.meta.name, repo.GetName(), &github.DependabotEncryptedSecret{
// Name: name,
// KeyID: publicKey.GetKeyID(),
// EncryptedValue: encryptedValue,
// }); err != nil {
// t.Fatalf("failed to create test repository dependabot secret: %v", err)
// }

// return name
// }

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Should this be removed or added a note to it?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure it needs a note, it's left here for when it's needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Type: Bug Something isn't working as documented Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants