Enforce responsible AI contribution policy - #23317
Merged
Merged
Conversation
MikeMcQuaid
commented
Jul 26, 2026
Member
- Keep commit history tied to accountable human contributors
- Ensure reviewers engage directly with responsible contributors
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Homebrew’s Responsible AI guidance and repository contribution templates, and introduces a new CI workflow to enforce commit-style rules (conventional commit prefixes and AI attribution) on pull requests.
Changes:
- Tighten documented AI/LLM contribution requirements across docs and templates (no AI commit attribution; contributors must answer questions themselves).
- Replace the previous conventional-commit-only workflow with a Commit Style workflow backed by dedicated shell scripts.
- Add a self-test script to validate the commit-style checker behavior in CI.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/Responsible-AI-Usage.md | Updates Responsible AI policy and refreshes review date. |
| docs/How-To-Open-a-Homebrew-Pull-Request.md | Aligns contributor guidance with updated AI/LLM requirements and refreshes review date. |
| CONTRIBUTING.md | Aligns AI/LLM contribution requirements with updated policy. |
| .github/workflows/reject-conventional-commits.yml | Removes the old conventional-commit-only workflow. |
| .github/workflows/commit-style.yml | Adds new workflow to run commit-style scripts on PRs. |
| .github/scripts/check-commit-style.sh | Implements checks for conventional prefixes + AI attribution. |
| .github/scripts/check-commit-style-test.sh | Adds CI self-test coverage for the checker. |
| .github/PULL_REQUEST_TEMPLATE.md | Updates PR checklist to reflect new AI/LLM contributor requirements. |
| .github/ISSUE_TEMPLATE/feature.yml | Adds an AI/LLM disclosure + responder-attestation checkbox. |
| .github/ISSUE_TEMPLATE/bug.yml | Adds an AI/LLM disclosure + responder-attestation checkbox. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bevanjkay
approved these changes
Jul 27, 2026
MikeMcQuaid
force-pushed
the
ai-attribution-review-policy
branch
from
July 27, 2026 07:12
a3a4e0e to
e08d231
Compare
MikeMcQuaid
force-pushed
the
ai-attribution-review-policy
branch
from
July 27, 2026 08:01
e08d231 to
f104b15
Compare
chenrui333
approved these changes
Jul 28, 2026
MikeMcQuaid
force-pushed
the
ai-attribution-review-policy
branch
2 times, most recently
from
July 29, 2026 08:28
6459446 to
43da585
Compare
- Keep commit history tied to accountable human contributors - Ensure reviewers engage directly with responsible contributors
MikeMcQuaid
force-pushed
the
ai-attribution-review-policy
branch
from
July 29, 2026 08:53
43da585 to
63f2dd4
Compare
MikeMcQuaid
enabled auto-merge
July 29, 2026 09:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.