Skip to content

Conversation

@steveteuber
Copy link
Contributor

@steveteuber steveteuber commented Sep 30, 2025

Recreate the pull request #2222 to resolve issue #2077.


Before the change?

  • There is a bug in the GitHub API 2022-11-28 version that causes a 422 error when updating a repository within an organization that has "Require sign off on web-based commits" enabled.

After the change?

  • On a repository update, we check if the organization has "Require sign off on web-based commits" enabled.
    If it's enabled, we do not send the web_commit_signoff_required field in the update request to avoid the 422 error.

Pull request checklist

  • 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!

  • No

@steveteuber
Copy link
Contributor Author

@nickfloyd can you review this pull request? This would be great 😉

@brunom-lexipol
Copy link

Bump! 🙏

@nickfloyd nickfloyd moved this from Backlog to In Review in Terraform Provider Nov 10, 2025
@nickfloyd nickfloyd added the Type: Bug Something isn't working as documented label Nov 10, 2025
Copy link
Contributor

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

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

❤️

@nickfloyd nickfloyd merged commit 59e2bd5 into integrations:main Nov 10, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from 🆕 Triage to ✅ Done in 🧰 Octokit Active Nov 10, 2025
@github-project-automation github-project-automation bot moved this from In Review to Done in Terraform Provider Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Something isn't working as documented

Projects

Development

Successfully merging this pull request may close these issues.

4 participants