Skip to content

Enforce responsible AI contribution policy - #23317

Merged
MikeMcQuaid merged 1 commit into
mainfrom
ai-attribution-review-policy
Jul 29, 2026
Merged

Enforce responsible AI contribution policy#23317
MikeMcQuaid merged 1 commit into
mainfrom
ai-attribution-review-policy

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member
  • Keep commit history tied to accountable human contributors
  • Ensure reviewers engage directly with responsible contributors

Copilot AI review requested due to automatic review settings July 26, 2026 19:13

Copilot AI 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.

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.

Comment thread .github/scripts/check-commit-style.sh Outdated
Comment thread .github/scripts/check-commit-style-test.sh Outdated
Comment thread .github/workflows/commit-style.yml Fixed
Comment thread .github/workflows/commit-style.yml Fixed
@MikeMcQuaid
MikeMcQuaid force-pushed the ai-attribution-review-policy branch 2 times, most recently from 6459446 to 43da585 Compare July 29, 2026 08:28
Comment thread .github/workflows/commit-style.yml Fixed
- Keep commit history tied to accountable human contributors
- Ensure reviewers engage directly with responsible contributors
@MikeMcQuaid
MikeMcQuaid force-pushed the ai-attribution-review-policy branch from 43da585 to 63f2dd4 Compare July 29, 2026 08:53
@MikeMcQuaid
MikeMcQuaid enabled auto-merge July 29, 2026 09:08
@MikeMcQuaid
MikeMcQuaid added this pull request to the merge queue Jul 29, 2026
Merged via the queue into main with commit ebba628 Jul 29, 2026
64 of 66 checks passed
@MikeMcQuaid
MikeMcQuaid deleted the ai-attribution-review-policy branch July 29, 2026 09:47
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.

5 participants