From 4b239bd3f8882023cc45fa6bab26231887f82640 Mon Sep 17 00:00:00 2001 From: Dario Curreri Date: Mon, 25 Nov 2024 18:53:31 +1100 Subject: [PATCH] test: add intermidiate test workflow --- .github/workflows/called.yml | 5 ++++- .github/workflows/caller.yml | 2 +- .github/workflows/intermidiate.yml | 8 ++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/intermidiate.yml diff --git a/.github/workflows/called.yml b/.github/workflows/called.yml index 49fe906..2621043 100644 --- a/.github/workflows/called.yml +++ b/.github/workflows/called.yml @@ -5,8 +5,11 @@ on: jobs: called: + permissions: + contents: read + id-token: write runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Checkout called repo - uses: dariocurr/checkout-called@main + uses: dariocurr/checkout-called@dev diff --git a/.github/workflows/caller.yml b/.github/workflows/caller.yml index 7a69a08..d59a5cf 100644 --- a/.github/workflows/caller.yml +++ b/.github/workflows/caller.yml @@ -11,4 +11,4 @@ on: jobs: caller: - uses: dariocurr/checkout-called/.github/workflows/called.yml@main + uses: dariocurr/checkout-called/.github/workflows/intermidiate.yml@dev diff --git a/.github/workflows/intermidiate.yml b/.github/workflows/intermidiate.yml new file mode 100644 index 0000000..3a61ee7 --- /dev/null +++ b/.github/workflows/intermidiate.yml @@ -0,0 +1,8 @@ +name: "[TEST] intermidiate" + +on: + workflow_call: + +jobs: + caller: + uses: dariocurr/checkout-called/.github/workflows/called.yml@dev