Skip to content

feat: add slash_command centralized support to all smoke agentic workflows#36522

Merged
pelikhan merged 2 commits into
mainfrom
copilot/add-slash-command-support
Jun 2, 2026
Merged

feat: add slash_command centralized support to all smoke agentic workflows#36522
pelikhan merged 2 commits into
mainfrom
copilot/add-slash-command-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

Smoke agentic workflows had no slash command support, requiring label-based or reaction triggers to invoke them. This adds slash_command: triggers with strategy: centralized so each workflow can be invoked via /smoke<name> in issues and PR comments through the central dispatcher.

Changes

  • Added slash_command block with strategy: centralized to the on: block of 24 smoke agentic .md workflows
  • Recompiled all affected .lock.yml files
# Example: smoke-copilot.md
on:
  slash_command:
    name: smoke-copilot
    strategy: centralized
    events: [issues, issue_comment, pull_request, pull_request_comment]
  workflow_dispatch:
  label_command:
    name: smoke
    events: [pull_request]

Exclusions

Workflow Reason
smoke-ci Uses pull_request: types: [opened, synchronize, reopened] — incompatible with slash_command (only label-type PR events may coexist)
smoke-workflow-call, smoke-workflow-call-with-inputs Reusable workflow_call components; not directly user-invokable

…rkflows

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@pelikhan pelikhan left a comment

Choose a reason for hiding this comment

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

@copilot ensure strategy centralized

…ic workflows

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jun 2, 2026

@copilot ensure strategy centralized

Done in the latest commit. Updated all 24 smoke workflows from slash_command: smoke-<name> (inline/decentralized) to the block form with strategy: centralized:

slash_command:
  name: smoke-<name>
  strategy: centralized
  events: [issues, issue_comment, pull_request, pull_request_comment]

All lock files have been recompiled accordingly.

Copilot AI changed the title feat: add slash_command decentralized support to all smoke agentic workflows feat: add slash_command centralized support to all smoke agentic workflows Jun 2, 2026
Copilot AI requested a review from pelikhan June 2, 2026 21:10
@pelikhan pelikhan marked this pull request as ready for review June 2, 2026 21:15
Copilot AI review requested due to automatic review settings June 2, 2026 21:15
@pelikhan pelikhan merged commit 4eafd27 into main Jun 2, 2026
@pelikhan pelikhan deleted the copilot/add-slash-command-support branch June 2, 2026 21:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enables centralized /smoke-… slash-command invocation for the smoke agentic workflows by adding on.slash_command blocks (with strategy: centralized) to the source .md workflows and regenerating the corresponding compiled .lock.yml workflows so the central dispatcher can route commands correctly.

Changes:

  • Added on: slash_command (centralized strategy + multi-surface events) across the targeted smoke workflow sources.
  • Recompiled affected .lock.yml workflows to wire in command detection/position checking and propagate matched_command outputs.
  • Updated compiled workflow plumbing to better support comment/dispatch contexts (e.g., dispatch-aware conditions and command lists via GH_AW_COMMANDS).
Show a summary per file
File Description
.github/workflows/smoke-update-cross-repo-pr.md Adds centralized slash_command trigger for this smoke workflow.
.github/workflows/smoke-update-cross-repo-pr.lock.yml Regenerated compiled workflow to support centralized slash-command dispatch and command matching.
.github/workflows/smoke-test-tools.md Adds centralized slash_command trigger.
.github/workflows/smoke-temporary-id.md Adds centralized slash_command trigger.
.github/workflows/smoke-temporary-id.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-service-ports.md Adds centralized slash_command trigger.
.github/workflows/smoke-project.md Adds centralized slash_command trigger.
.github/workflows/smoke-project.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-pi.md Adds centralized slash_command trigger.
.github/workflows/smoke-pi.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-otel-backends.md Adds centralized slash_command trigger.
.github/workflows/smoke-opencode.md Adds centralized slash_command trigger.
.github/workflows/smoke-opencode.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-multi-pr.md Adds centralized slash_command trigger.
.github/workflows/smoke-multi-pr.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-gemini.md Adds centralized slash_command trigger.
.github/workflows/smoke-gemini.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-crush.md Adds centralized slash_command trigger.
.github/workflows/smoke-crush.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-create-cross-repo-pr.md Adds centralized slash_command trigger.
.github/workflows/smoke-create-cross-repo-pr.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-copilot.md Adds centralized slash_command trigger.
.github/workflows/smoke-copilot-sdk.md Adds centralized slash_command trigger.
.github/workflows/smoke-copilot-arm.md Adds centralized slash_command trigger.
.github/workflows/smoke-codex.md Adds centralized slash_command trigger.
.github/workflows/smoke-claude.md Adds centralized slash_command trigger.
.github/workflows/smoke-call-workflow.md Adds centralized slash_command trigger.
.github/workflows/smoke-antigravity.md Adds centralized slash_command trigger.
.github/workflows/smoke-antigravity.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-agent-scoped-approved.md Adds centralized slash_command trigger.
.github/workflows/smoke-agent-scoped-approved.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-agent-public-none.md Adds centralized slash_command trigger.
.github/workflows/smoke-agent-public-none.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-agent-public-approved.md Adds centralized slash_command trigger.
.github/workflows/smoke-agent-public-approved.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-agent-all-none.md Adds centralized slash_command trigger.
.github/workflows/smoke-agent-all-none.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.
.github/workflows/smoke-agent-all-merged.md Adds centralized slash_command trigger.
.github/workflows/smoke-agent-all-merged.lock.yml Regenerated compiled workflow for centralized slash-command dispatch + command matching outputs.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 48/48 changed files
  • Comments generated: 0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants