Add smoke-copilot-auto workflow: auto-post haiku on PRs - #48423
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot only triggers on label_command "smoke" |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Changed to |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
🤖 PR Triage
Rationale: Draft smoke workflow. Purely additive, no CI yet. Defer until ready to undraft and run CI.
|
| name: smoke | ||
| events: [pull_request] | ||
| workflow_dispatch: | ||
| github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
@copilot remove and use copilot-requests: write instead
There was a problem hiding this comment.
Removed github-token and added copilot-requests: write to permissions in d3f9a12.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a Copilot smoke workflow intended to post PR-inspired haiku comments.
Changes:
- Defines the Copilot engine, GitHub read tooling, and safe comment output.
- Adds a concise haiku-generation prompt.
- Includes compiled workflow output.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/smoke-copilot-auto.md |
Workflow source; trigger currently requires a label instead of automatic PR events. |
.github/workflows/smoke-copilot-auto.lock.yml |
Generated GitHub Actions workflow. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/2 changed files
- Comments generated: 1
- Review effort level: Medium
| label_command: | ||
| name: smoke | ||
| events: [pull_request] |
|
🎉 This pull request is included in a new release. Release: |
Adds a minimal smoke workflow that triggers automatically on PR events and posts an AI-generated haiku as a PR comment — no slash command needed.
Changes
.github/workflows/smoke-copilot-auto.md— new workflow:pull_request(opened, synchronize, reopened) +workflow_dispatchbare: true),gh-proxyfor PR readsadd-commentnoopif no PR context available.github/workflows/smoke-copilot-auto.lock.yml— compiled output