Skip to content

Commit

Permalink
add support for new inputs; modify docs too
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jun 6, 2024
1 parent f8f579b commit 4bfda7f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 18 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,20 @@ inputs:
- Prefix a path with a bang (`!`) to make it explicitly _not_ ignored. The order of
multiple paths does _not_ take precedence. The `!` prefix can be applied to
a submodule's path (if desired) but not hidden directories.
- Glob patterns are not supported here. All asterisk characters (`*`) are literal.
- **As of v2.12**, glob patterns are supported here.
All asterisk characters (`*`) were previously literal.
required: false
default: '.github'
ignore-tidy:
description: |-
Use this option to allow clang-tidy to ignore certain paths/files.
See [`ignore`](#ignore) for more details on possible values.
required: false
default: '.github'
ignore-format:
description: |-
Use this option to allow clang-format to ignore certain paths/files.
See [`ignore`](#ignore) for more details on possible values.
required: false
default: '.github'
thread-comments:
Expand Down Expand Up @@ -272,6 +285,8 @@ runs:
--no-lgtm=${{ inputs.no-lgtm }} \
--step-summary=${{ inputs.step-summary }} \
--ignore="${{ inputs.ignore }}" \
--ignore-tidy="${{ inputs.ignore-tidy }}" \
--ignore-format="${{ inputs.ignore-format }}" \
--database=${{ inputs.database }} \
--file-annotations=${{ inputs.file-annotations }} \
--extra-arg="${{ inputs.extra-args }}" \
Expand Down Expand Up @@ -308,6 +323,8 @@ runs:
' --no-lgtm=${{ inputs.no-lgtm }}' +
' --step-summary=${{ inputs.step-summary }}' +
' --ignore="${{ inputs.ignore }}"' +
' --ignore-tidy="${{ inputs.ignore-tidy }}"' +
' --ignore-format="${{ inputs.ignore-format }}"' +
' --database=${{ inputs.database }}' +
' --file-annotations=${{ inputs.file-annotations }}' +
' --extra-arg="${{ inputs.extra-args }}"' +
Expand Down
4 changes: 4 additions & 0 deletions docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ inputs:
required-permission: 'contents: read #file-changes'
ignore:
minimum-version: '1.3.0'
ignore-tidy:
minimum-version: '2.12.0'
ignore-format:
minimum-version: '2.12.0'
thread-comments:
minimum-version: '2.6.2'
required-permission: 'contents: write #thread-comments'
Expand Down

0 comments on commit 4bfda7f

Please sign in to comment.