Skip to content

Update predict workflow dry_run inputs - #125

Merged
jeffhandley merged 1 commit into
mainfrom
jeffhandley/dry-run
Jun 13, 2026
Merged

jeffhandley merged 1 commit into
mainfrom
jeffhandley/dry-run

Conversation

@jeffhandley

Copy link
Copy Markdown
Member
  • set workflow_dispatch dry_run input type to boolean in issues, discussions, and pulls workflows
  • set workflow_dispatch dry_run default to false in issues, discussions, and pulls workflows
  • pass dry_run to the pulls prediction step for manual dispatch runs

- set workflow_dispatch dry_run input type to boolean in issues, discussions, and pulls workflows

- set workflow_dispatch dry_run default to false in issues, discussions, and pulls workflows

- pass dry_run to the pulls prediction step for manual dispatch runs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 13, 2026 06:12
@github-actions github-actions Bot added the area-Workflows Related to the issue-labeler reusable workflows label Jun 13, 2026
@jeffhandley
jeffhandley merged commit 0f594db into main Jun 13, 2026
5 checks passed
@jeffhandley
jeffhandley deleted the jeffhandley/dry-run branch June 13, 2026 06:13

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

Updates the GitHub Actions “predict” workflows to make the workflow_dispatch dry_run input a proper boolean with a default of false, and wires the dry_run input through to the pulls prediction step for manual runs.

Changes:

  • Convert workflow_dispatch dry_run inputs to type: boolean with default: false (issues/discussions/pulls).
  • Pass dry_run through to the dotnet/issue-labeler/predict step for the pulls workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/labeler-predict-pulls.yml Adds boolean dry_run input and forwards it to the predict step for manual dispatch runs.
.github/workflows/labeler-predict-issues.yml Changes dry_run workflow_dispatch input to boolean with default false.
.github/workflows/labeler-predict-discussions.yml Changes dry_run workflow_dispatch input to boolean with default false.

Comment on lines +24 to +28
dry_run:
description: "Run in dry-run mode for manual dispatches. Defaults to 'true'."
required: false
type: boolean
default: false
label_prefix: ${{ env.LABEL_PREFIX }}
threshold: ${{ env.THRESHOLD }}
default_label: ${{ env.DEFAULT_LABEL }}
dry_run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || 'false' }}
Comment on lines 16 to +19
description: "Run in dry-run mode for manual dispatches. Defaults to 'true'."
required: false
default: "true"
type: boolean
default: false
Comment on lines 16 to +19
description: "Run in dry-run mode for manual dispatches. Defaults to 'true'."
required: false
default: "true"
type: boolean
default: false
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