From 0c44ac2b526304d562ef24d61d3288974ff524b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 18:33:12 +0000 Subject: [PATCH 1/2] Bump cpp-linter from 1.8.1 to 1.9.1 in the pip group across 1 directory Bumps the pip group with 1 update in the / directory: [cpp-linter](https://github.com/cpp-linter/cpp-linter). Updates `cpp-linter` from 1.8.1 to 1.9.1 - [Release notes](https://github.com/cpp-linter/cpp-linter/releases) - [Commits](https://github.com/cpp-linter/cpp-linter/compare/v1.8.1...v1.9.1) --- updated-dependencies: - dependency-name: cpp-linter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index de7ed9f..244ac6e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ clang-tools==0.12.1 # cpp-linter core Python executable package # For details please see: https://github.com/cpp-linter/cpp-linter -cpp-linter==1.8.1 +cpp-linter==1.9.1 From 3321beedaa7d6b74211fe03134b81ab5743d158a Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 6 May 2024 16:55:46 -0700 Subject: [PATCH 2/2] add support for new inputs; modify docs too --- action.yml | 19 ++++++++++++++++++- docs/action.yml | 4 ++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 03dfff3..a40b6a1 100644 --- a/action.yml +++ b/action.yml @@ -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: @@ -263,6 +276,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 }}" \ @@ -299,6 +314,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 }}"' + diff --git a/docs/action.yml b/docs/action.yml index 40b65cd..3a153bf 100644 --- a/docs/action.yml +++ b/docs/action.yml @@ -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'