Skip to content

Commit 4f7a2a1

Browse files
author
Greg Bowler
committed
1) fix a typo in "description"pass
2) allow true/false as well as 1/0 3) pass the env variable from the input
1 parent 6b7d4fe commit 4f7a2a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ inputs:
8282
required: false
8383

8484
ignore_warnings_on_exit:
85-
desctiption: Exit with a zero error code despite the presence of warnings (1 = true, default 0 = false).
85+
description: Exit with a zero error code despite the presence of warnings
8686
required: false
8787

8888
ignore_errors_on_exit:
89-
description: Exit with a zero error code despite the presence of errors (1 = true, default 0 = false).
89+
description: Exit with a zero error code despite the presence of errors
9090
required: false
9191

9292
args:
@@ -117,6 +117,8 @@ runs:
117117
ACTION_SEVERITY: ${{ inputs.severity }}
118118
ACTION_ERROR_SEVERITY: ${{ inputs.error_severity }}
119119
ACTION_WARNING_SEVERITY: ${{ inputs.warning_severity }}
120+
ACTION_IGNORE_WARNINGS_ON_EXIT: ${{ inputs.ignore_warnings_on_exit }}
121+
ACTION_IGNORE_ERRORS_ON_EXIT: ${{ inputs.ignore_errors_on_exit }}
120122
ACTION_ARGS: ${{ inputs.args }}
121123

122124
id: phpcs_run

0 commit comments

Comments
 (0)