Skip to content

Commit

Permalink
Only attempt to leave comments on PRs from this repo
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
oleksandr-pavlyk committed Aug 28, 2023
1 parent 526c46c commit 8a9ebe6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,11 @@ jobs:
echo "Array API standard conformance tests failed to run for dpctl=$PACKAGE_VERSION."
exit 1
fi
- name: Output API summary
shell: bash -l {0}
run: echo "::notice ${{ env.MESSAGE }}"
- name: Post result to PR
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork }}
uses: mshick/add-pr-comment@v1
with:
message: |
Expand Down

0 comments on commit 8a9ebe6

Please sign in to comment.