From 4cc9db7eec23351ab9c7470f3bec37eab4bdf9ae Mon Sep 17 00:00:00 2001 From: bgravenorst Date: Fri, 23 Aug 2024 09:42:47 +1000 Subject: [PATCH] Add option to check all files. Signed-off-by: bgravenorst --- linkcheck/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linkcheck/action.yml b/linkcheck/action.yml index e56952f..5658ad2 100644 --- a/linkcheck/action.yml +++ b/linkcheck/action.yml @@ -20,6 +20,10 @@ inputs: description: 'default config file.' required: false default: .docs-gha/linkcheck/config/link-check.json + MODIFIED_FILES_ONLY: + description: 'check modified files only' + required: false + default: yes runs: using: "composite" @@ -37,7 +41,7 @@ runs: with: use-quiet-mode: yes use-verbose-mode: yes - check-modified-files-only: yes + check-modified-files-only: ${{ inputs.MODIFIED_FILES_ONLY }} config-file: ${{ inputs.CONFIG_FILE }} base-branch: ${{ inputs.BRANCH }} folder-path: ${{ inputs.DOC_DIR }}