Skip to content

Commit

Permalink
fix: CI change to only make PR comments when appropriate (#340)
Browse files Browse the repository at this point in the history
Co-authored-by: kschrief <kschriefer91@gmail.com>
  • Loading branch information
kdivya153 and kschrief authored Nov 5, 2024
1 parent 18fd1ad commit 1d6a43f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
./.github/workflows/utils.sh unzipArtifact
- name: Post a Comment
if: env.PR_NUMBER != ''
if: ${{ env.PR_NUMBER != null && env.PR_NUMBER != '' }}
uses: actions/github-script@v6
with:
script: |
Expand All @@ -50,4 +50,4 @@ jobs:
Pending: ${{ env.Pending }}
Skipped: ${{ env.Skipped }}
ARTIFACT_URL: ${{ env.ARTIFACT_URL }}
JOB_PATH: ${{ env.JOB_PATH }}
JOB_PATH: ${{ env.JOB_PATH }}

0 comments on commit 1d6a43f

Please sign in to comment.