From e1894d0e00bf77399bb58dc9f0baf67fde8a512c Mon Sep 17 00:00:00 2001 From: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Date: Sat, 2 Mar 2024 14:27:28 -0500 Subject: [PATCH] misc(ci): fix workflow dispatch ref Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --- .github/workflows/test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83e2f734..5d56d7b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -78,12 +78,9 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - name: Dump GitHub context - env: - GITHUB_CONTEXT: ${{ toJson(github) }} - run: echo "$GITHUB_CONTEXT" - - name: Invoke acceptance tests workflow uses: benc-uk/workflow-dispatch@v1 with: - workflow: testacc.yml \ No newline at end of file + workflow: testacc.yml + ref: "main" + inputs: '{"ref": "${{ github.head_ref }}" }' \ No newline at end of file