Skip to content

Commit 9c13fec

Browse files
committed
ensure default values are a YAML string
1 parent a1f19c1 commit 9c13fec

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

action.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ inputs:
4444
- Set this option to a blank string (`''`) to use the platform's default installed version.
4545
- This value can also be a path to where the clang tools are installed (if using a custom install location).
4646
required: false
47-
default: 20
47+
default: '20'
4848
verbosity:
4949
description: |
5050
This controls the action's verbosity in the workflow's logs.
@@ -67,7 +67,7 @@ inputs:
6767
This feature requires special permissions to perform successfully.
6868
See our [documented permissions](permissions.md)
6969
required: false
70-
default: false
70+
default: 'false'
7171
files-changed-only:
7272
description: |
7373
Set this option to false to analyze any source files in the repo.
@@ -77,7 +77,7 @@ inputs:
7777
This feature requires special permissions to perform successfully.
7878
See our [documented permissions](permissions.md)
7979
required: false
80-
default: true
80+
default: 'true'
8181
ignore:
8282
description: |
8383
Set this option with string of path(s) to ignore.
@@ -135,7 +135,7 @@ inputs:
135135
See [`thread-comments`](#thread-comments), [`tidy-review`](#tidy-review),
136136
and [`format-review`](#format-review) options for further details.
137137
required: false
138-
default: true
138+
default: 'true'
139139
step-summary:
140140
description: |
141141
Set this option to true to append content as part of workflow's job summary.
@@ -149,12 +149,12 @@ inputs:
149149
> [!NOTE]
150150
> The [`no-lgtm`](#no-lgtm) option is _not_ applied to step summaries.
151151
required: false
152-
default: false
152+
default: 'false'
153153
file-annotations:
154154
description: |
155155
Set this option to false to disable the use of file annotations as feedback.
156156
required: false
157-
default: true
157+
default: 'true'
158158
database:
159159
description: The directory containing compilation database (like compile_commands.json) file.
160160
required: false
@@ -189,7 +189,7 @@ inputs:
189189
> [!NOTE]
190190
> The [`no-lgtm`](#no-lgtm) option is applicable to Pull Request reviews.
191191
required: false
192-
default: false
192+
default: 'false'
193193
format-review:
194194
description: |
195195
Set this option to `true` to enable Pull Request reviews from clang-format.
@@ -203,19 +203,19 @@ inputs:
203203
> [!NOTE]
204204
> The [`no-lgtm`](#no-lgtm) option is applicable to Pull Request reviews.
205205
required: false
206-
default: false
206+
default: 'false'
207207
passive-reviews:
208208
description: |
209209
Set this option to `true` to prevent Pull Request reviews from approving or requesting changes.
210-
default: false
210+
default: 'false'
211211
required: false
212212
jobs:
213213
description: |
214214
The number of jobs to run in parallel.
215215
If less than or equal to 0, the number of jobs is set to
216216
use the number of all available CPU cores.
217217
required: false
218-
default: 0
218+
default: '0'
219219
cache-enable:
220220
description: |-
221221
Controls the caching of cpp-linter dependencies.
@@ -225,7 +225,7 @@ inputs:
225225
Any cached assets are kept within the path to this action's source
226226
(not in the runner's workspace or temp directory).
227227
required: false
228-
default: true
228+
default: 'true'
229229
outputs:
230230
checks-failed:
231231
description: An integer that can be used as a boolean value to indicate if any checks failed by clang-tidy and clang-format.

0 commit comments

Comments
 (0)