Skip to content

Commit

Permalink
Merge pull request #1 from ukhsa-collaboration/bugfix/doe-310-fail-su…
Browse files Browse the repository at this point in the history
…bshell

DOE-310: Fail action on subshell failure
  • Loading branch information
ntse authored Nov 12, 2024
2 parents 97a8ade + a59502c commit c959952
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/terraform-dependency-sort/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ runs:
shell: bash
id: stack_order
run: |
[[ ${{ inputs.reverse}} == 'false' ]] || reverse_flag="--reverse"
set -Eeuo pipefail
[[ ${{ inputs.reverse}} == 'false' ]] || reverse_flag="--reverse"
echo "order=$(python ${{ github.action_path }}/main.py $reverse_flag)" >> $GITHUB_OUTPUT

0 comments on commit c959952

Please sign in to comment.