Skip to content

Commit

Permalink
set output
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed May 24, 2024
1 parent eae3be8 commit 2a1ac21
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,25 @@ inputs:
outputs:
reviewdog-findings:
description: number of reviewdog findings
value: ${{ steps.run-reviewdog-pr.outputs.findings }}${{ steps.run-reviewdog-full.outputs.findings }}
value: ${{ steps.script.outputs.findings }}
safesvg-count:
description: number of safesvg findings via reviewdog
value: ${{ steps.run-reviewdog-pr.outputs.safesvg_count }}${{ steps.run-reviewdog-full.outputs.safesvg_count }}
value: ${{ steps.script.outputs.safesvg_count }}
tfsec-count:
description: number of tfsec findings via reviewdog
value: ${{ steps.run-reviewdog-pr.outputs.tfsec_count }}${{ steps.run-reviewdog-full.outputs.tfsec_count }}
value: ${{ steps.script.outputs.tfsec_count }}
semgrep-count:
description: number of semgrep findings via reviewdog
value: ${{ steps.run-reviewdog-pr.outputs.semgrep_count }}${{ steps.run-reviewdog-full.outputs.semgrep_count }}
value: ${{ steps.script.outputs.semgrep_count }}
sveltegrep-count:
description: number of sveltegrep findings via reviewdog
value: ${{ steps.run-reviewdog-pr.outputs.sveltegrep_count }}${{ steps.run-reviewdog-full.outputs.sveltegrep_count }}
value: ${{ steps.script.outputs.sveltegrep_count }}
npm-audit-count:
description: number of npm-audit findings via reviewdog
value: ${{ steps.run-reviewdog-pr.outputs.npm_audit_count }}${{ steps.run-reviewdog-full.outputs.npm_audit_count }}
value: ${{ steps.script.outputs.npm_audit_count }}
pip-audit-count:
description: number of pip-audit findings via reviewdog
value: ${{ steps.run-reviewdog-pr.outputs.pip_audit_count }}${{ steps.run-reviewdog-full.outputs.pip_audit_count }}
value: ${{ steps.script.outputs.pip_audit_count }}
runs:
using: 'composite'
steps:
Expand Down Expand Up @@ -128,6 +128,7 @@ runs:
cache: enable
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: ${{ steps.reviewdog-enabled.outputs.result == 'true' }}
id: script
with:
script: |
const actionPath = '${{ github.action_path }}'
Expand Down

0 comments on commit 2a1ac21

Please sign in to comment.