Repository navigation
Update predict workflow dry_run inputs - #125
Merged
Merged
Conversation
jeffhandley
commented
Jun 13, 2026
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>
Contributor
There was a problem hiding this comment.
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_dispatchdry_runinputs totype: booleanwithdefault: false(issues/discussions/pulls). - Pass
dry_runthrough to thedotnet/issue-labeler/predictstep 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.