From 0f5e2d314abd1e4770a03f2d0f3b16ad8242cd87 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 23 Nov 2023 17:54:59 +0200 Subject: [PATCH] Add event handler in CI Signed-off-by: Stefan Prodan --- .github/workflows/event.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/event.yaml diff --git a/.github/workflows/event.yaml b/.github/workflows/event.yaml new file mode 100644 index 0000000..3f2bc47 --- /dev/null +++ b/.github/workflows/event.yaml @@ -0,0 +1,19 @@ +name: event + +on: + workflow_dispatch: + +permissions: + contents: read + +jobs: + flux: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: main + - name: Handle Flux event + run: | + echo ${{ github.event.client_payload }} | jq