Skip to content

Commit

Permalink
Passes the result input through to output (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgealton authored Jul 2, 2022
1 parent 892f027 commit d9d9b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ runs:
- "${{ inputs.policies }}"
- "--output-file ${{ inputs.result }}"
- "${{ inputs.resource_type }}"
outputs:
result:
description: The result path
2 changes: 2 additions & 0 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ if [[ -n "$resource_type" ]]; then
fi

iam-sarif-report ${opts[@]} -- $(find_policies "$policy_path")

echo "::set-output name=result::${4}"

0 comments on commit d9d9b2c

Please sign in to comment.