Skip to content

Workflow input and output text fixes#131

Merged
jeffhandley merged 2 commits into
mainfrom
jeffhandley/workflow-fixes
Jun 13, 2026
Merged

Workflow input and output text fixes#131
jeffhandley merged 2 commits into
mainfrom
jeffhandley/workflow-fixes

Conversation

@jeffhandley

Copy link
Copy Markdown
Member

No description provided.

jeffhandley and others added 2 commits June 13, 2026 04:34
In IssueLabeler/src/Tester/Tester.cs, the AlertType decision uses

    stats.MismatchesPercentage < 0.15f

to render the green Note banner (vs the yellow Warning banner) for the
'finished testing' summary. The Tip alert rendered immediately below
that banner, however, told the reader the favorable threshold was
'less than 10%'. A run with, say, 13% mismatches would land on a green
'favorable' banner sitting right next to a Tip claiming favorability
required less than 10% mismatches — leaving the reader unsure which
piece of UI to trust.

Update the Tip text to 'less than 15%' so it matches the decision the
code actually makes. No behavioural change: any run that rendered green
before still renders green; any run that rendered yellow before still
renders yellow. Only the help text changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The promote and predict actions, the cache-retention workflow's matrix,
and Predictor/Args.cs all order the three supported content types as
(issues, pulls, discussions). The download, restore, test, train, and
labeler-train action/workflow files inconsistently used
(issues, discussions, pulls).

Standardize on the canonical (issues, pulls, discussions) order across
all action.yml files and the labeler-train.yml workflow:

* download/action.yml, restore/action.yml, test/action.yml,
  train/action.yml: input descriptions, bash validation conditions,
  error messages, step-summary text, and step-summary ternary
  fallthroughs.
* .github/workflows/labeler-train.yml: workflow header comment, type
  input description, and the workflow_dispatch type choice options
  (now All, Issues, Pull Requests, Discussions).

No behavior changes. The set of accepted/rejected values is unchanged.
The ternary fallthroughs (	ype == 'issues' && 'Issues' || type ==
'pulls' && 'Pull Requests' || 'Discussions') produce identical output
for every accepted input.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 13, 2026 11:54
@github-actions github-actions Bot added the area-Workflows Related to the issue-labeler reusable workflows label Jun 13, 2026

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

This PR standardizes the user-facing text in composite actions and the training workflow so that input descriptions, validation errors, and summaries consistently refer to model/data types in the same order (Issues, Pull Requests, Discussions). It also aligns the Tester summary guidance with the actual “favorable” threshold used by the code.

Changes:

  • Reordered type input descriptions and validation error/summary text across Train/Test/Restore/Download composite actions.
  • Reordered the workflow_dispatch choice options/descriptions in the training workflow for consistent presentation.
  • Updated the Tester summary tip to match the existing 15% mismatches threshold used for result alerting.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
train/action.yml Aligns descriptions, validation errors, and summary text ordering for model training inputs/outputs.
test/action.yml Aligns descriptions and validation error text ordering for model testing input.
restore/action.yml Aligns restore action input description, validation errors, and summary text ordering.
download/action.yml Aligns descriptions, validation errors, and summary text ordering for data download outputs.
IssueLabeler/src/Tester/Tester.cs Makes the summary “favorable” guidance consistent with the 0.15 mismatches threshold used in logic.
.github/workflows/labeler-train.yml Reorders workflow dispatch choice descriptions/options for consistent UI text.

@jeffhandley jeffhandley merged commit 01eda79 into main Jun 13, 2026
4 checks passed
@jeffhandley jeffhandley deleted the jeffhandley/workflow-fixes branch June 13, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Workflows Related to the issue-labeler reusable workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants