From c2ca2493190021783138cb8aac49bcee14b4bb89 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 2 Aug 2025 13:16:58 -0600 Subject: [PATCH] test: manual triggered workflows (#2637) --- .github/workflows/manual-triggered-job-example.yml | 10 ++++++++-- test/test.txt | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manual-triggered-job-example.yml b/.github/workflows/manual-triggered-job-example.yml index 03c0a957..f3b151d6 100644 --- a/.github/workflows/manual-triggered-job-example.yml +++ b/.github/workflows/manual-triggered-job-example.yml @@ -5,6 +5,12 @@ permissions: on: workflow_dispatch: + inputs: + files: + required: false + type: string + default: | + **.md **/**.md test/*.txt jobs: test: @@ -35,8 +41,8 @@ jobs: id: changed-files-glob uses: ./ with: - files: | - test/*.txt + files: ${{ inputs.files }} + files_separator: " " # Space delimited files (default is "\n") - name: Show output run: | diff --git a/test/test.txt b/test/test.txt index d34e13f0..9f4b6d8b 100644 --- a/test/test.txt +++ b/test/test.txt @@ -1 +1 @@ -This is a test file... +This is a test file