diff --git a/action.yml b/action.yml index 275c389d..37a13ef6 100644 --- a/action.yml +++ b/action.yml @@ -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: @@ -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 }}'