Skip to content

Commit 27faedf

Browse files
committed
Fixed if for "Add comment with cov diff to PR" step
1 parent 44db216 commit 27faedf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/run-unittests-py38-cov-report.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ jobs:
151151
fi
152152
153153
- name: "Calculate coverage diff"
154-
if: always()
155154
run: |
156155
set -x # print commands that are executed
157156
@@ -182,7 +181,7 @@ jobs:
182181
183182
- name: "Add comment with cov diff to PR"
184183
uses: actions/github-script@v6
185-
if: always()
184+
if: github.event_name == 'pull_request'
186185
with:
187186
github-token: ${{ github.token }}
188187
script: |

0 commit comments

Comments
 (0)