From d4aa58bb8d38ba627a43b1323145749c464076c0 Mon Sep 17 00:00:00 2001 From: Abhijeet <41686026+abhvsn@users.noreply.github.com> Date: Thu, 19 Sep 2024 23:21:57 +0530 Subject: [PATCH] fix: TBP for the invalid usage of GH workflow_dispatch action --- .github/workflows/test-build-docker-image.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml index 803dcbc73d6a..f9eda86b85b1 100644 --- a/.github/workflows/test-build-docker-image.yml +++ b/.github/workflows/test-build-docker-image.yml @@ -62,10 +62,13 @@ jobs: invoke-tbp-workflow-for-pg: needs: [setup] if: github.event_name != 'push' && github.ref == 'refs/heads/release' - uses: benc-uk/workflow-dispatch@v1 - with: - workflow: test-build-docker-image.yml - inputs: '{ "ref": "pg"}' + runs-on: ubuntu-latest + steps: + - name: Trigger TBP on pg branch + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: test-build-docker-image.yml + inputs: '{ "ref": "refs/heads/pg"}' server-build: needs: [setup]