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
67 changes: 62 additions & 5 deletions .github/workflows/pdf-summary.lock.yml

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

9 changes: 8 additions & 1 deletion .github/workflows/pdf-summary.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: Summarizes PDF and other documents by analyzing URLs provided via /summarize command or workflow dispatch
description: pdf summarizer
on:
# Command trigger - responds to /summarize mentions
slash_command:
Expand All @@ -23,6 +23,7 @@ permissions:
contents: read
issues: read
pull-requests: read
discussions: read

engine: copilot

Expand All @@ -35,6 +36,8 @@ tools:
safe-outputs:
add-comment:
max: 1
create-discussion:
max: 1
messages:
footer: "> 📄 *Summary compiled by [{workflow_name}]({run_url})*"
run-started: "📖 Page by page! [{workflow_name}]({run_url}) is reading through this {event_type}..."
Expand Down Expand Up @@ -117,6 +120,10 @@ For each identified URL:
- Post your analysis as a comment on the triggering issue/PR
- Format the response clearly with headers and bullet points
- Include references to the analyzed URLs
- Create a discussion in the repository with the result of the summarization using safe-outputs:
- Create a discussion with the title format: "Summary: [Brief description of resource]"
- Include the full analysis as the discussion body
- The discussion will be automatically created through the safe-outputs system

## Response Format

Expand Down
Loading