diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60cc0416..061c6219 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -81,5 +81,4 @@ jobs: - name: Invoke acceptance tests workflow uses: benc-uk/workflow-dispatch@v1 with: - workflow: testacc.yml - ref: ${{ github.event.pull_request.head.ref }} \ No newline at end of file + workflow: testacc.yml \ No newline at end of file diff --git a/.github/workflows/testacc.yml b/.github/workflows/testacc.yml index c35d3087..11124b59 100644 --- a/.github/workflows/testacc.yml +++ b/.github/workflows/testacc.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 1 - ref: ${{ github.event.workflow_run.head_branch }} + ref: ${{ github.event.inputs.ref || github.ref}} - name: Setup Go uses: actions/setup-go@v5