Skip to content

Commit 3919bd3

Browse files
authored
use file path for comment
1 parent 929fd0b commit 3919bd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/validatePublicAPISurface.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
fail-on-removal: true
2626
id: diff
2727
- uses: microsoftgraph/kiota-dom-export-diff-tool/comment@main
28-
if: ${{ always() && steps.generatePatch.outputs.patchFilePath != '' && steps.diff.outputs.explanations != '' && github.event_name == 'pull_request' }}
28+
if: ${{ always() && steps.generatePatch.outputs.patchFilePath != '' && steps.diff.outputs.hasExplanations != '' && github.event_name == 'pull_request' }}
2929
continue-on-error: true
3030
with:
31-
comment: ${{ steps.diff.outputs.explanations }}
31+
comment: ${{ steps.diff.outputs.explanationsFilePath }}
3232
prNumber: ${{ github.event.pull_request.number }}
3333
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
- name: Upload patch file as artifact
@@ -37,4 +37,4 @@ jobs:
3737
continue-on-error: true
3838
with:
3939
name: patch
40-
path: '*.patch'
40+
path: '*.patch'

0 commit comments

Comments
 (0)