Skip to content

Commit e49e72c

Browse files
committed
use environment variables to make the action a bit safer
1 parent 12c8bc3 commit e49e72c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ runs:
2828
COLUMNS: 120
2929
FORCE_COLOR: 3
3030
POLICY_PATH: ${{ inputs.policy-path }}
31+
ENVIRONMENT_PATHS: ${{ join(fromJSON(inputs.environment-paths), ' ') }}
3132
run: |
32-
python minimum_versions.py --policy="$POLICY_PATH" ${{ join(fromJSON(inputs.environment-paths), ' ') }}
33+
python minimum_versions.py --policy="$POLICY_PATH" $ENVIRONMENT_PATHS

0 commit comments

Comments
 (0)