Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 7 additions & 2 deletions .github/scripts/pr-triage-act.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,14 @@ if [ -z "$STATE" ]; then
EVAL_STATE=$(eval_status_state)
log "reviewDecision=$REVIEW_DECISION unresolved_threads=$UNRESOLVED eval_status=$EVAL_STATE"

# Malicious scan precedence (non-bot, untrusted, no marker for current head)
# Malicious scan precedence (non-bot, untrusted, no marker for current head).
# Match either the orchestrator-posted dispatched marker (source of truth) or
# the agent-posted fingerprint marker (set by a successful scan run).
if [ "$IS_BOT" = "false" ] && [ "$IS_TRUSTED" = "false" ]; then
SECS=$(seconds_since_marker "<!-- pr-malicious-scan:fingerprint=$HEAD_SHA_SHORT:")
SECS=$(seconds_since_marker "<!-- pr-malicious-scan:dispatched=$HEAD_SHA_SHORT -->")
if [ -z "$SECS" ]; then
SECS=$(seconds_since_marker "<!-- pr-malicious-scan:fingerprint=$HEAD_SHA_SHORT:")
fi
if [ -z "$SECS" ]; then
STATE="needs-malicious-scan"
fi
Expand Down
85 changes: 31 additions & 54 deletions .github/workflows/pr-malicious-scan.agent.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading