File tree Expand file tree Collapse file tree
.github/actions/contributor-check Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: "Contributor Reputation Check"
22description : >
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
88inputs :
@@ -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 :
Original file line number Diff line number Diff line change 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
44The check implementation delegates to microsoft/agent-governance-toolkit at a
55pinned commit. That upstream script owns the risk calculation and writes an
66idempotent 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
1010from __future__ import annotations
1818MARKER = "<!-- agt-contributor-check -->"
1919AGENTTRUST_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 :
You can’t perform that action at this time.
0 commit comments