Skip to content

Commit

Permalink
workflows/tests: fix template-injection warning
Browse files Browse the repository at this point in the history
Fixes https://github.com/Homebrew/homebrew-portable-ruby/security/code-scanning/1

This may not warn anymore on the latest version of `zizmor`, but I would
like to be able to run `zizmor` with `--pedantic`, and that will produce
a warning here.

It's simple enough to avoid, so let's just do that.
  • Loading branch information
carlocab committed Nov 8, 2024
1 parent 2717d68 commit 1155a74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ jobs:
if: github.event_name != 'push' && !cancelled()
steps:
- name: Result
run: ${{ needs.build.result == 'success' }}
env:
RESULT: ${{ needs.build.result }}
run: |
[[ "${RESULT}" == success ]]

0 comments on commit 1155a74

Please sign in to comment.