Skip to content

fix: commit signoff is enforced by the organization - #2763

Merged
nickfloyd merged 9 commits into
integrations:mainfrom
steveteuber:web_commit_signoff_required
Nov 10, 2025
Merged

nickfloyd merged 9 commits into
integrations:mainfrom
steveteuber:web_commit_signoff_required

Conversation

@steveteuber

@steveteuber steveteuber commented Sep 30, 2025 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

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

@brunom-lexipol

Copy link
Copy Markdown

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

@nickfloyd nickfloyd left a comment

Copy link
Copy Markdown
Contributor

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
@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
@steveteuber
steveteuber deleted the web_commit_signoff_required branch November 14, 2025 08:34
@bzarboni1

Copy link
Copy Markdown
Contributor

Thanks!!

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