Skip to content

Fix v88 build break + migrate docs to tfplugindocs (for integrations#3284) - #1

Merged
sprioriello merged 2 commits into
sprioriello:feat/organization-security-configurationfrom
casey-robertson-paypal:fix/security-configuration-v88-and-docs
Jun 10, 2026
Merged

sprioriello merged 2 commits into
sprioriello:feat/organization-security-configurationfrom
casey-robertson-paypal:fix/security-configuration-v88-and-docs

Conversation

@casey-robertson-paypal

Copy link
Copy Markdown

As offered in integrations/terraform-provider-github#3284 — this PR targets your feat/organization-security-configuration branch with the two fixes needed after recent changes on upstream main:

Commit 1 — fix: update go-github imports from v86 to v88
Mechanical import-path change in the four new Go files. Verified: go build ./... succeeds, go vet ./github/ is clean, and all unit tests in util_security_configuration_test.go pass (go test ./github/ -run SecurityConfiguration).

Commit 2 — docs: migrate to tfplugindocs

  • Deletes the two website/docs/r/*.html.markdown pages (unpublished since upstream chore: Use tf plugin docs integrations/terraform-provider-github#3380)
  • Ports your Example Usage and Import examples to examples/resources/github_{organization,enterprise}_security_configuration/ (resource_1.tf + import.sh)
  • Adds templates/resources/{organization,enterprise}_security_configuration.md.tmpl following the conventions of the most recently updated template (repository_collaborators.md.tmpl): intro prose + {{ .SchemaMarkdown }} + import boilerplate
  • Commits the output of make generatedocs; tfplugindocs validate passes

Once you merge this into your branch, integrations#3284 should build green again and the docs will publish to the Registry. I deliberately left the three minor observations from my review comment (e.g. Computed: true on secret_scanning_delegated_bypass_options) out of this PR — your call whether to address those.

Next step on my side: working on sandbox org/enterprise access to run the acceptance tests (TF_ACC=1) including the GHAS-dependent attributes; I'll report results on integrations#3284.

…ns#3380)

- remove website/docs/r pages (no longer published since integrations#3380)
- add examples/resources/ + templates/resources/ for both resources
- commit generated docs/resources pages from make generatedocs
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.

2 participants