From 4bfda7fd11af8af20ee23789433da1a4cdb85650 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Mon, 3 Jun 2024 19:39:01 -0700 Subject: [PATCH] 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 9590cba..225f52c 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: @@ -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 }}" \ @@ -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 }}"' + 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'