Skip to content

Commit 0be4232

Browse files
Copilotlpcox
andauthored
fix: expand trigger matcher in workflow-summaries to include release and slash_command
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/070e29f1-4550-457f-aa44-56d5611818e3 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
1 parent a8fccd2 commit 0be4232

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/pelis-agent-factory-advisor.lock.yml

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/pelis-agent-factory-advisor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ steps:
7272
find .github/workflows -name "*.md" -type f | sort | while IFS= read -r f; do
7373
name=$(basename "$f" .md)
7474
desc=$(grep -m1 "^description:" "$f" 2>/dev/null | sed 's/^description: *//' | cut -c1-100)
75-
triggers=$(grep -E "^ (schedule|workflow_dispatch|pull_request|push|issues|workflow_run|issue_comment):" "$f" 2>/dev/null \
75+
triggers=$(grep -E "^ (schedule|workflow_dispatch|pull_request|push|issues|workflow_run|issue_comment|release|slash_command):" "$f" 2>/dev/null \
7676
| sed 's/^ //' | tr -d ':' | tr '\n' ',' | sed 's/,$//')
7777
printf "%-45s | %-100s | %s\n" "$name" "${desc:-(no description)}" "${triggers:-(none)}"
7878
done

0 commit comments

Comments
 (0)