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
22 changes: 22 additions & 0 deletions .github/workflows/haiku-printer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Haiku Printer
on:
workflow_dispatch:
inputs:
message:
description: 'Message to print'
type: string
required: true
permissions:
contents: read
jobs:
print-message:
runs-on: ubuntu-latest
steps:
- name: Print message
run: |
echo "📨 Received message:"
echo "${{ inputs.message }}"
echo ""
echo "### 📨 Message" >> "$GITHUB_STEP_SUMMARY"
echo "" >> "$GITHUB_STEP_SUMMARY"
echo "${{ inputs.message }}" >> "$GITHUB_STEP_SUMMARY"
25 changes: 22 additions & 3 deletions .github/workflows/smoke-copilot.lock.yml

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

5 changes: 5 additions & 0 deletions .github/workflows/smoke-copilot.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ safe-outputs:
allowed: [smoke-copilot]
remove-labels:
allowed: [smoke]
dispatch-workflow:
workflows:
- haiku-printer
max: 1
jobs:
send-slack-message:
description: "Send a message to Slack (stub for testing)"
Expand Down Expand Up @@ -110,6 +114,7 @@ strict: true
- Extract the discussion number from the result (e.g., if the result is `{"number": 123, "title": "...", ...}`, extract 123)
- Use the `add_comment` tool with `discussion_number: <extracted_number>` to add a fun, playful comment stating that the smoke test agent was here
8. **Build gh-aw**: Run `GOCACHE=/tmp/go-cache GOMODCACHE=/tmp/go-mod make build` to verify the agent can successfully build the gh-aw project (both caches must be set to /tmp because the default cache locations are not writable). If the command fails, mark this test as ❌ and report the failure.
9. **Workflow Dispatch Testing**: Use the `dispatch_workflow` safe output tool to trigger the `haiku-printer` workflow with a haiku as the message input. Create an original, creative haiku about software testing or automation.

## Output

Expand Down
Loading