Skip to content

Commit 820b182

Browse files
Bump the pip group across 1 directory with 2 updates (#247)
* Bump the pip group across 1 directory with 2 updates Bumps the pip group with 2 updates in the / directory: [clang-tools](https://github.com/cpp-linter/clang-tools-pip) and [cpp-linter](https://github.com/cpp-linter/cpp-linter). Updates `clang-tools` from 0.12.1 to 0.13.0 - [Release notes](https://github.com/cpp-linter/clang-tools-pip/releases) - [Commits](cpp-linter/clang-tools-pip@v0.12.1...v0.13.0) Updates `cpp-linter` from 1.8.1 to 1.10.0 - [Release notes](https://github.com/cpp-linter/cpp-linter/releases) - [Commits](cpp-linter/cpp-linter@v1.8.1...v1.10.0) --- updated-dependencies: - dependency-name: clang-tools dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip - dependency-name: cpp-linter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip ... Signed-off-by: dependabot[bot] <[email protected]> * add tool-specific ignore options resolves #233 * add input for passive reviews resolves #243 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brendan <[email protected]>
1 parent 09a8c47 commit 820b182

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

action.yml

+25-1
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:
@@ -191,6 +204,11 @@ inputs:
191204
> The [`no-lgtm`](#no-lgtm) option is applicable to Pull Request reviews.
192205
required: false
193206
default: false
207+
passive-reviews:
208+
description: |
209+
Set this option to `true` to prevent Pull Request reviews from approving or requesting changes.
210+
default: false
211+
required: false
194212
jobs:
195213
description: |
196214
The number of jobs to run in parallel.
@@ -272,11 +290,14 @@ runs:
272290
--no-lgtm=${{ inputs.no-lgtm }} \
273291
--step-summary=${{ inputs.step-summary }} \
274292
--ignore="${{ inputs.ignore }}" \
293+
--ignore-tidy="${{ inputs.ignore-tidy }}" \
294+
--ignore-format="${{ inputs.ignore-format }}" \
275295
--database=${{ inputs.database }} \
276296
--file-annotations=${{ inputs.file-annotations }} \
277297
--extra-arg="${{ inputs.extra-args }}" \
278298
--tidy-review="${{ inputs.tidy-review }}" \
279299
--format-review="${{ inputs.format-review }}" \
300+
--passive-reviews="${{ inputs.passive-reviews }}" \
280301
--jobs=${{ inputs.jobs }}
281302
282303
- name: Setup python venv (Windows)
@@ -308,11 +329,14 @@ runs:
308329
' --no-lgtm=${{ inputs.no-lgtm }}' +
309330
' --step-summary=${{ inputs.step-summary }}' +
310331
' --ignore="${{ inputs.ignore }}"' +
332+
' --ignore-tidy="${{ inputs.ignore-tidy }}"' +
333+
' --ignore-format="${{ inputs.ignore-format }}"' +
311334
' --database=${{ inputs.database }}' +
312335
' --file-annotations=${{ inputs.file-annotations }}' +
313336
' --extra-arg="${{ inputs.extra-args }}"' +
314337
' --tidy-review="${{ inputs.tidy-review }}"' +
315338
' --format-review="${{ inputs.format-review }}"' +
339+
' --passive-reviews="${{ inputs.passive-reviews }}"' +
316340
' --jobs=${{ inputs.jobs }}'
317341
318342
Invoke-Expression -Command $app

docs/action.yml

+7
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'
@@ -40,6 +44,9 @@ inputs:
4044
format-review:
4145
minimum-version: '2.9.0'
4246
required-permission: 'pull-requests: write #pull-request-reviews'
47+
passive-reviews:
48+
minimum-version: '2.12.0'
49+
required-permission: 'pull-requests: write #pull-request-reviews'
4350
jobs:
4451
minimum-version: '2.11.0'
4552
outputs:

docs/permissions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The [`thread-comments`](inputs-outputs.md#thread-comments) feature requires the
7272

7373
## Pull Request Reviews
7474

75-
The [`tidy-review`](inputs-outputs.md#tidy-review) and [`format-review`](inputs-outputs.md#format-review) features require the following permissions:
75+
The [`tidy-review`](inputs-outputs.md#tidy-review), [`format-review`](inputs-outputs.md#format-review), and [`passive-reviews`](inputs-outputs.md#passive-reviews) features require the following permissions:
7676

7777
```yaml
7878
permissions:

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Install clang-tools binaries (clang-format, clang-tidy)
22
# For details please see: https://github.com/cpp-linter/clang-tools-pip
3-
clang-tools==0.12.1
3+
clang-tools==0.13.0
44

55
# cpp-linter core Python executable package
66
# For details please see: https://github.com/cpp-linter/cpp-linter
7-
cpp-linter==1.8.1
7+
cpp-linter==1.10.0

0 commit comments

Comments
 (0)