From 690016936f6803b033e5dfc1c89675d82bb819f9 Mon Sep 17 00:00:00 2001 From: tiawl Date: Thu, 25 Apr 2024 17:36:11 +0200 Subject: [PATCH] [done #181] new pong workflow --- .github/workflows/pong.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pong.yml diff --git a/.github/workflows/pong.yml b/.github/workflows/pong.yml new file mode 100644 index 0000000..ece4901 --- /dev/null +++ b/.github/workflows/pong.yml @@ -0,0 +1,22 @@ +name: cd pong + +on: + repository_dispatch: + types: + - ping + +jobs: + pong: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: tiawl/spaceporn-dep-action-cd-pong@v1 + if: ${{ contains(fromJSON('["cimgui.zig","shaderc.zig"]'), github.event.client_payload.dependency) }} + with: + dependency: "${{ github.event.client_payload.dependency }}" + tag: "${{ github.event.client_payload.tag }}" + hash: "${{ github.event.client_payload.hash }}" + token: "${{ github.token }}"