mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-05-15 06:35:55 +00:00
Use env to avoid script injection in CI workflow
This commit is contained in:
parent
eeab5ede16
commit
7ed611fb76
1 changed files with 3 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -78,8 +78,10 @@ jobs:
|
|||
config: testdata/hadolint.yaml
|
||||
|
||||
- name: Run integration test 6 - verify results output parameter
|
||||
env:
|
||||
STEP_5_OUTPUT: ${{ steps.hadolint5.outputs.results }}
|
||||
# This step will never fail, but will print out the results from step5
|
||||
run: echo "${{ steps.hadolint5.outputs.results }}"
|
||||
run: echo "$STEP_5_OUTPUT"
|
||||
|
||||
#- name: Run integration test 6 - output to file
|
||||
# # This step will never fail, but will print out rule violations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue