Skip to content

[Contribution Check Report] PR #21222 Contribution Check: fix: label_command doesn't trigger when workflow also has slash_command #21236

@github-actions

Description

@github-actions

Contribution Check Report — PR #21222

Field Value
PR #21222
Title fix: label_command doesn't trigger when workflow also has slash_command
Author @Copilot
Verdict ⚠️ Needs Focus
Quality needs-work
On-topic ✅ yes
Follows process ✅ yes
Focused ❌ no
New deps ✅ no
Has tests ✅ yes
Lines changed 135
Existing labels (none)

Checklist Breakdown

  1. On-topicyes. The fix targets check_command_position.cjs, a core action in the pre_activation gate that controls workflow dispatch. Fixing a silent skip when label_command and slash_command are combined is squarely within the project's scope.

  2. Follows processyes. The PR is authored by the Copilot coding agent, which is the prescribed contribution method for core team changes per CONTRIBUTING.md.

  3. Focusedno. The PR bundles two distinct changes:

    • The targeted bug fix in actions/setup/js/check_command_position.cjs and its tests.
    • Large modifications to .github/workflows/smoke-call-workflow.lock.yml (99 lines), removing the entire create_issue tool block — with no corresponding change to the source smoke-call-workflow.md and no mention in the PR description.
  4. New depsno.

  5. Has testsyes. Three new test cases in check_command_position.test.cjs covering labeled events for issues, pull_request, and discussion.

  6. Has descriptionyes. The PR body explains the bug clearly with a before/after code snippet.

  7. Diff size — 135 lines total.


Reasoning

The lock file .github/workflows/smoke-call-workflow.lock.yml is an auto-generated artifact compiled from its corresponding .md source via make recompile. However, the source file smoke-call-workflow.md is not modified in this PR, which makes the lock file diff unexplained. The change removes create_issue tool configuration — a meaningful semantic change to the smoke workflow that has no bearing on the label_command bug fix. Even for auto-generated files, the absence of any explanation in the PR description and the large functional delta make this a focus concern.

Generated by Contribution Check ·

  • expires on Mar 17, 2026, 1:33 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions