Skip to content

Commit 7e1c761

Browse files
committed
Fix AgenTrust contributor check branding
1 parent 78582cc commit 7e1c761

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/actions/contributor-check/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Contributor Reputation Check"
22
description: >
33
Screens GitHub contributors for account-shape anomalies, cross-repo
44
credential laundering, and coordination patterns. Public comments are
5-
AgentTrust-branded; risk checks delegate to pinned
5+
AgenTrust-branded; risk checks delegate to pinned
66
microsoft/agent-governance-toolkit scripts (MIT License).
77
88
inputs:
@@ -113,7 +113,7 @@ runs:
113113
--number "$STEP_NUMBER" \
114114
--item-type "$STEP_TYPE"
115115
116-
- name: Apply AgentTrust comment branding
116+
- name: Apply AgenTrust comment branding
117117
if: ${{ steps.inputs.outputs.type != 'manual' && steps.inputs.outputs.number != '0' }}
118118
shell: bash
119119
env:

.github/actions/contributor-check/brand_comment.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env python3
2-
"""Apply AgentTrust branding to the public contributor-check comment.
2+
"""Apply AgenTrust branding to the public contributor-check comment.
33
44
The check implementation delegates to microsoft/agent-governance-toolkit at a
55
pinned commit. That upstream script owns the risk calculation and writes an
66
idempotent PR/issue comment. Keep its hidden marker so future runs update the
7-
same comment, but make the visible footer point at the AgentTrust action.
7+
same comment, but make the visible footer point at the AgenTrust action.
88
"""
99

1010
from __future__ import annotations
@@ -18,7 +18,7 @@
1818
MARKER = "<!-- agt-contributor-check -->"
1919
AGENTTRUST_FOOTER = (
2020
"*Automated check by "
21-
"[AgentTrust Contributor Check]"
21+
"[AgenTrust Contributor Check]"
2222
"(https://github.com/agentrust-io/.github/tree/main/.github/actions/contributor-check).*"
2323
)
2424

@@ -88,7 +88,7 @@ def main() -> None:
8888

8989
branded = _branded_body(body)
9090
if branded == body:
91-
print("Contributor-check comment already has AgentTrust branding.")
91+
print("Contributor-check comment already has AgenTrust branding.")
9292
return
9393

9494
_api(
@@ -97,7 +97,7 @@ def main() -> None:
9797
f"/repos/{owner}/{repo}/issues/comments/{comment['id']}",
9898
{"body": branded},
9999
)
100-
print("Applied AgentTrust branding to contributor-check comment.")
100+
print("Applied AgenTrust branding to contributor-check comment.")
101101
return
102102

103103
if len(comments) < 100:

0 commit comments

Comments
 (0)