Skip to content

Commit deee7fb

Browse files
committed
fix: update condition for publishing comment to require both artifact name and URL
1 parent f81ec74 commit deee7fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Publish comment
33-
if: ${{ needs.install.outputs.artifact_name || needs.install.outputs.artifact_url }}
33+
if: ${{ needs.install.outputs.artifact_name && needs.install.outputs.artifact_url }}
3434
uses: peter-evans/create-or-update-comment@v4
3535
with:
3636
edit-mode: replace

0 commit comments

Comments
 (0)