From 2b2f805b3249552d934c577d644d39378bd64ba3 Mon Sep 17 00:00:00 2001 From: Chris Dickinson Date: Tue, 1 Oct 2024 10:07:39 -0700 Subject: [PATCH] fix(ci): cd should run on the branch that completed --- .github/workflows/cd.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index dd934be..cf2416b 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -12,6 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: '${{ github.event.workflow_run.head_branch }}' + - uses: docker/setup-buildx-action@v3 - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 @@ -46,6 +49,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: '${{ github.event.workflow_run.head_branch }}' - name: update the schema run: |