Skip to content

Commit 1bce134

Browse files
committed
Comment on PR with summary
1 parent fe8dc6b commit 1bce134

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/evaluate.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,15 @@ jobs:
156156
run: |
157157
echo "📊 Evaluation Results" >> $GITHUB_STEP_SUMMARY
158158
python -m evaltools summary evals/results --output=markdown >> $GITHUB_STEP_SUMMARY
159+
160+
- name: Comment on pull request
161+
uses: actions/github-script@v7
162+
with:
163+
script: |
164+
const { GITHUB_STEP_SUMMARY } = process.env;
165+
github.rest.issues.createComment({
166+
issue_number: context.issue.number,
167+
owner: context.repo.owner,
168+
repo: context.repo.repo,
169+
body: GITHUB_STEP_SUMMARY
170+
})

0 commit comments

Comments
 (0)