Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ebcb1cf

Browse files
committed
add support for new inputs; modify docs too
1 parent e75521a commit ebcb1cf

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

‎action.yml‎

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,20 @@ inputs:
9494
- Prefix a path with a bang (`!`) to make it explicitly _not_ ignored. The order of
9595
multiple paths does _not_ take precedence. The `!` prefix can be applied to
9696
a submodule's path (if desired) but not hidden directories.
97-
- Glob patterns are not supported here. All asterisk characters (`*`) are literal.
97+
- **As of v2.12**, glob patterns are supported here.
98+
All asterisk characters (`*`) were previously literal.
99+
required: false
100+
default: '.github'
101+
ignore-tidy:
102+
description: |-
103+
Use this option to allow clang-tidy to ignore certain paths/files.
104+
See [`ignore`](#ignore) for more details on possible values.
105+
required: false
106+
default: '.github'
107+
ignore-format:
108+
description: |-
109+
Use this option to allow clang-format to ignore certain paths/files.
110+
See [`ignore`](#ignore) for more details on possible values.
98111
required: false
99112
default: '.github'
100113
thread-comments:
@@ -263,6 +276,8 @@ runs:
263276
--no-lgtm=${{ inputs.no-lgtm }} \
264277
--step-summary=${{ inputs.step-summary }} \
265278
--ignore="${{ inputs.ignore }}" \
279+
--ignore-tidy="${{ inputs.ignore-tidy }}" \
280+
--ignore-format="${{ inputs.ignore-format }}" \
266281
--database=${{ inputs.database }} \
267282
--file-annotations=${{ inputs.file-annotations }} \
268283
--extra-arg="${{ inputs.extra-args }}" \
@@ -299,6 +314,8 @@ runs:
299314
' --no-lgtm=${{ inputs.no-lgtm }}' +
300315
' --step-summary=${{ inputs.step-summary }}' +
301316
' --ignore="${{ inputs.ignore }}"' +
317+
' --ignore-tidy="${{ inputs.ignore-tidy }}"' +
318+
' --ignore-format="${{ inputs.ignore-format }}"' +
302319
' --database=${{ inputs.database }}' +
303320
' --file-annotations=${{ inputs.file-annotations }}' +
304321
' --extra-arg="${{ inputs.extra-args }}"' +

‎docs/action.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ inputs:
2020
required-permission: 'contents: read #file-changes'
2121
ignore:
2222
minimum-version: '1.3.0'
23+
ignore-tidy:
24+
minimum-version: '2.12.0'
25+
ignore-format:
26+
minimum-version: '2.12.0'
2327
thread-comments:
2428
minimum-version: '2.6.2'
2529
required-permission: 'contents: write #thread-comments'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /