Skip to content

Conversation

steveteuber
Copy link

@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
Author

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

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