Skip to content

Commit eabbe70

Browse files
committed
fix: add output to action.yml
1 parent 1c123d7 commit eabbe70

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

action.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,16 @@ inputs:
4545
description: post results to the pull request comments
4646
required: false
4747
default: false
48+
49+
outputs:
50+
pr_comments:
51+
description: The formatted PR comment body containing commit-check results
52+
value: ${{ steps.commit-check.outputs.pr_comments }}
53+
4854
runs:
4955
using: "composite"
5056
steps:
51-
- id: run
57+
- id: commit-check
5258
name: Install dependencies and run commit-check
5359
shell: bash
5460
run: |
@@ -85,8 +91,3 @@ runs:
8591
DRY_RUN: ${{ inputs.dry-run }}
8692
JOB_SUMMARY: ${{ inputs.job-summary }}
8793
PR_COMMENTS: ${{ inputs.pr-comments }}
88-
89-
outputs:
90-
pr_comments:
91-
description: The formatted PR comment body containing commit-check results
92-
value: ${{ steps.run.outputs.pr_comments }}

0 commit comments

Comments
 (0)