From 652431125db8aae496c49249c0ec044c54b3bb88 Mon Sep 17 00:00:00 2001 From: JCGuerrero Date: Sun, 13 Sep 2026 15:55:46 -0400 Subject: [PATCH] test(workflows): re-usability --- .github/workflows/reusable_a.yml | 12 ++++++++++++ .github/workflows/reusable_b.yml | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/reusable_a.yml create mode 100644 .github/workflows/reusable_b.yml diff --git a/.github/workflows/reusable_a.yml b/.github/workflows/reusable_a.yml new file mode 100644 index 0000000..96554f9 --- /dev/null +++ b/.github/workflows/reusable_a.yml @@ -0,0 +1,12 @@ +name: Re-Usable workflow "A" + +on: + workflow_call: # SRC: https://docs.github.com/en/actions/using-workflows/reusing-workflows + workflow_dispatch: # Allows you to run this workflow manually from the Actions tab + +jobs: + echo: + runs-on: ubuntu-latest + steps: + - name: echo + run: echo "github-actions/.../reusable_a.yml" diff --git a/.github/workflows/reusable_b.yml b/.github/workflows/reusable_b.yml new file mode 100644 index 0000000..b9443b3 --- /dev/null +++ b/.github/workflows/reusable_b.yml @@ -0,0 +1,14 @@ +name: Re-Usable workflow "B" + +on: + workflow_call: # SRC: https://docs.github.com/en/actions/using-workflows/reusing-workflows + workflow_dispatch: # Allows you to run this workflow manually from the Actions tab + +jobs: + directly: + uses: ./.github/workflows/reusable_a.yml + + # TODO + # main: + # uses: percebus/github-actions/.github/workflows/reusable_a.yml@main + \ No newline at end of file