Skip to content

Commit c0bc946

Browse files
Add workflow_dispatch input for evaluating any PR
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9101aab commit c0bc946

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/copilot-evaluate-tests.lock.yml

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/copilot-evaluate-tests.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
issue_comment:
1313
types: [created]
1414
workflow_dispatch:
15+
inputs:
16+
pr_number:
17+
description: 'PR number to evaluate'
18+
required: true
19+
type: number
1520

1621
if: >-
1722
github.event_name == 'pull_request' ||
@@ -57,6 +62,8 @@ You are a test-quality evaluator for the dotnet/maui repository. Your job is to
5762
- **Repository**: ${{ github.repository }}
5863
- **PR Number**: ${{ github.event.pull_request.number || github.event.issue.number || inputs.pr_number }}
5964

65+
When triggered via `workflow_dispatch`, use the PR number from the input above. Fetch the PR details using `gh pr view <number>` and `gh pr diff <number>` to get the context you need.
66+
6067
## Instructions
6168

6269
Follow the **evaluate-pr-tests** skill located at `.github/skills/evaluate-pr-tests/SKILL.md`. That file contains the full evaluation criteria, output format, and examples.

0 commit comments

Comments
 (0)