Skip to content

Add smoke-copilot-auto workflow: auto-post haiku on PRs - #48423

Merged
pelikhan merged 4 commits into
mainfrom
copilot/create-smoke-copilot-auto-workflow
Jul 27, 2026
Merged

Add smoke-copilot-auto workflow: auto-post haiku on PRs#48423
pelikhan merged 4 commits into
mainfrom
copilot/create-smoke-copilot-auto-workflow

Conversation

Copilot AI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

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:
    • Triggers on pull_request (opened, synchronize, reopened) + workflow_dispatch
    • Copilot engine (bare: true), gh-proxy for PR reads
    • Prompt: compose a 5-7-5 haiku from PR title/description, post via add-comment
    • noop if no PR context available
  • .github/workflows/smoke-copilot-auto.lock.yml — compiled output

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Add smoke-copilot-auto agentic workflow Add smoke-copilot-auto workflow: auto-post haiku on PRs Jul 27, 2026
Copilot AI requested a review from pelikhan July 27, 2026 18:24
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot only triggers on label_command "smoke"

Comment thread .github/workflows/smoke-copilot-auto.md
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

@copilot only triggers on label_command "smoke"

Changed to label_command: name: smoke on pull_request events. Compiled cleanly in 4b6e1b0.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

🤖 PR Triage

Field Value
Category feature
Risk low
Score 28/100 (impact:10, urgency:8, quality:10)
Action defer

Rationale: Draft smoke workflow. Purely additive, no CI yet. Defer until ready to undraft and run CI.

Generated by 🔧 PR Triage Agent · sonnet46 · 54.1 AIC · ⌖ 8.18 AIC · ⊞ 5.7K ·

Comment thread .github/workflows/smoke-copilot-auto.md Outdated
name: smoke
events: [pull_request]
workflow_dispatch:
github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot remove and use copilot-requests: write instead

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed github-token and added copilot-requests: write to permissions in d3f9a12.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan July 27, 2026 20:52
@pelikhan
pelikhan marked this pull request as ready for review July 27, 2026 20:53
Copilot AI review requested due to automatic review settings July 27, 2026 20:53
@pelikhan
pelikhan merged commit 8d91a01 into main Jul 27, 2026
@pelikhan
pelikhan deleted the copilot/create-smoke-copilot-auto-workflow branch July 27, 2026 20:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment on lines +6 to +8
label_command:
name: smoke
events: [pull_request]
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants