Skip to content

Commit a6ec1d4

Browse files
Only attempt to leave comments on PRs from this repo
Also adds a step to output array-api-test summary into the log (step which works for PRs regardless whether they are opened from a fork, or from a branch in this repo).
1 parent 526c46c commit a6ec1d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/conda-package.yml

+4
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,11 @@ jobs:
608608
echo "Array API standard conformance tests failed to run for dpctl=$PACKAGE_VERSION."
609609
exit 1
610610
fi
611+
- name: Output API summary
612+
shell: bash -l {0}
613+
run: echo "::notice ${{ env.MESSAGE }}"
611614
- name: Post result to PR
615+
if: ${{ ! github.event.pull_request.head.repo.fork }}
612616
uses: mshick/add-pr-comment@v1
613617
with:
614618
message: |

0 commit comments

Comments
 (0)