File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ jobs:
178
178
if [ -z "$table" ]; then
179
179
report="## Coverage Report\n\nNo coverage information available."
180
180
else
181
- if [ "${{ github.event_name }}" == "pull_request " ]; then
181
+ if [ "${{ github.event_name }}" == "pull_request_target " ]; then
182
182
compare_url="https://github.com/stdlib-js/stdlib/compare/${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}"
183
183
compare_txt="The above coverage report was generated for the [changes in this PR]($compare_url)."
184
184
elif [ "${{ github.event_name }}" == "push" ]; then
@@ -262,7 +262,7 @@ jobs:
262
262
run : |
263
263
cd ./www-test-code-coverage
264
264
265
- if [[ "${{ github.event_name }}" == "pull_request " ]]; then
265
+ if [[ "${{ github.event_name }}" == "pull_request_target " ]]; then
266
266
BRANCH_NAME="pr-${{ github.event.pull_request.number }}"
267
267
git fetch origin $BRANCH_NAME || true
268
268
git checkout $BRANCH_NAME || git checkout -b $BRANCH_NAME
You can’t perform that action at this time.
0 commit comments