From f22233c3d7242ddb72b2ca7726214fe7c1284659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Wed, 6 Jan 2021 19:40:01 +0100 Subject: [PATCH] fix: make github action use correct ref for pull-requests --- .github/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fd2037f194..41c260928e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,6 +32,8 @@ jobs: --health-retries 5 steps: - uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: