From 253c0db635501cdced629b2e1ccaf6ad656ace7a Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 5 Nov 2024 10:06:20 -0800 Subject: [PATCH] debug: Add debug workflow --- .github/workflows/debug-call.yaml | 32 ++++++++++++++++++++++++++ .github/workflows/debug-caller.yaml | 22 ++++++++++++++++++ .github/workflows/debug-dispatch.yaml | 32 ++++++++++++++++++++++++++ .github/workflows/debug-pr-target.yaml | 24 +++++++++++++++++++ .github/workflows/debug-pr.yaml | 28 ++++++++++++++++++++++ .github/workflows/debug-push.yaml | 29 +++++++++++++++++++++++ .github/workflows/debug-release.yaml | 28 ++++++++++++++++++++++ .github/workflows/debug-schedule.yaml | 29 +++++++++++++++++++++++ 8 files changed, 224 insertions(+) create mode 100644 .github/workflows/debug-call.yaml create mode 100644 .github/workflows/debug-caller.yaml create mode 100644 .github/workflows/debug-dispatch.yaml create mode 100644 .github/workflows/debug-pr-target.yaml create mode 100644 .github/workflows/debug-pr.yaml create mode 100644 .github/workflows/debug-push.yaml create mode 100644 .github/workflows/debug-release.yaml create mode 100644 .github/workflows/debug-schedule.yaml diff --git a/.github/workflows/debug-call.yaml b/.github/workflows/debug-call.yaml new file mode 100644 index 0000000..cccda8e --- /dev/null +++ b/.github/workflows/debug-call.yaml @@ -0,0 +1,32 @@ +name: Workflow Debug (Call) + +on: + workflow_call: + inputs: + ref: + description: "The ref to build and test." + type: string + required: True + +defaults: + run: + shell: bash + +jobs: + debug: + runs-on: ubuntu-latest + steps: + - run: | + echo "github.ref: ${{ github.ref }}" + echo "github.event_name: ${{ github.event_name }}" + echo "" + echo "github.event.inputs.ref: ${{ github.event.inputs.ref }}" + echo "inputs.ref: ${{ inputs.ref }}" + echo "" + echo "github.event.pull_request_target.merge_commit_sha: ${{ github.event.pull_request_target.merge_commit_sha }}" + echo "github.event.pull_request.merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha }}" + echo "github.event.push.head: ${{ github.event.push.head }}" + echo "" + cat <