terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

feat(actions_permissions): sha_pinning_required

Open sheeeng opened this issue 2 months ago • 3 comments

~Wait until https://github.com/google/go-github/pull/3807 is being included in the next release.~

Resolves #2869.


Before the change?

  • The sha_pinning_required option for actions permissions is not supported.

After the change?

  • The sha_pinning_required option actions permissions is supported.

Pull request checklist

  • [x] Schema migrations have been created if needed (example)
  • [x] Tests for the changes have been added (for bug fixes / features)
  • [x] 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
  • [x] No

sheeeng avatar Nov 06 '25 16:11 sheeeng

I ran go get github.com/google/go-github/v79@latest and go mod tidy && go mod vendor, but make build still failing. Any tips to fix this build and/or lint errors? @nickfloyd

sheeeng avatar Dec 02 '25 13:12 sheeeng

@sheeeng The provider doesn't support go-github v79 yet. We're on v67 and getting to v79 in our v7 release.

You could try rebase on https://github.com/integrations/terraform-provider-github/pull/2898, but that might not build currently either

deiga avatar Dec 02 '25 20:12 deiga

@nickfloyd, thanks! I guess I will only update this pull request once the provider supports go-github v79.. 🙇

sheeeng avatar Dec 03 '25 09:12 sheeeng