Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:

- name: check PR description for AI co-author pattern
shell: bash
env:
PR_BODY: ${{ github.event.pull_request.body }}
run: |
BLOCKED_PATTERN='Co-authored-by:.*ai|Co-authored-by:.*agent|Co-authored-by:.*copilot|Co-authored-by:.*llm|Co-authored-by:.*gpt'
PR_BODY="${{ github.event.pull_request.body }}"
if echo "${PR_BODY}" | grep -Eiq "${BLOCKED_PATTERN}"; then
echo "FAIL: PR description contains blocked co-author AI pattern." >&2
echo "Blocked pattern: ${BLOCKED_PATTERN}" >&2
Expand Down
Loading