Skip to content

Brand contributor check comments as AgentTrust#16

Open
carloshvp wants to merge 1 commit into
agentrust-io:mainfrom
carloshvp:agenttrust-contributor-check-branding
Open

Brand contributor check comments as AgentTrust#16
carloshvp wants to merge 1 commit into
agentrust-io:mainfrom
carloshvp:agenttrust-contributor-check-branding

Conversation

@carloshvp

Copy link
Copy Markdown
Member

What changed

Rebrands the public contributor-check PR/issue comment as AgentTrust-owned while keeping the existing pinned Microsoft Agent Governance Toolkit implementation for the risk checks.

The composite action now runs a small post-processing helper after the AGT check. The helper finds the existing contributor-check comment by its hidden idempotency marker, preserves that marker so future runs update the same comment, and replaces the visible footer with:

Automated check by AgentTrust Contributor Check

Why

The check is part of the AgentTrust repository workflow, so the visible automation should read as AgentTrust infrastructure. The upstream AGT dependency remains acknowledged in the action description and implementation comments, preserving attribution without exposing Microsoft AGT as the user-facing brand on every PR.

Validation

  • python3 -m py_compile .github/actions/contributor-check/brand_comment.py
  • Local _branded_body smoke test confirmed:
    • hidden marker is preserved
    • visible footer changes to AgentTrust
    • visible AGT Contributor Check footer is removed
  • ruby -e "require 'yaml'; YAML.load_file('.github/actions/contributor-check/action.yml')"
  • git diff --check

@carloshvp carloshvp marked this pull request as ready for review June 27, 2026 11:10
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.

1 participant