From 96489778d7153cc7064bd59a7313482263ad1aa1 Mon Sep 17 00:00:00 2001 From: James Garriss <52328727+james-garriss@users.noreply.github.com> Date: Tue, 13 Feb 2024 08:46:27 -0500 Subject: [PATCH] Update caller.yaml --- .github/workflows/caller.yaml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/caller.yaml b/.github/workflows/caller.yaml index 7a5448e..c35c6f0 100644 --- a/.github/workflows/caller.yaml +++ b/.github/workflows/caller.yaml @@ -18,9 +18,30 @@ jobs: yaml-files: - "**.yml" - "**.yaml" + test-sh: + name: Test SH + runs-on: ubuntu-latest + outputs: + sh-changes: ${{ steps.sh-changes.outputs.sh-files }} + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Check for Sh + uses: dorny/paths-filter@v3 + id: sh-changes + with: + filters: | + yaml-files: + - "**.sh" call-yaml: - name: Call YAML Workflow + name: Call YAML WF needs: - test-yaml if: needs.test-yaml.outputs.yaml-changes == 'true' - uses: james-garriss/test-paths-filter/.github/workflows/called.yaml@main + uses: james-garriss/test-paths-filter/.github/workflows/yaml-called.yaml@main + call-sh: + name: Call Sh WF + needs: + - test-sh + if: needs.test-sh.outputs.sh-changes == 'true' + uses: james-garriss/test-paths-filter/.github/workflows/sh-called.yaml@main