From 85bb1d2a058658c073fb7e42dbd8a68ee62f8136 Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Fri, 05 Aug 2022 10:19:01 +0000 Subject: [PATCH] Switch back to github.base_ref. --- --- a/.github/workflows/node_build_test.yml +++ b/.github/workflows/node_build_test.yml @@ -62,7 +62,7 @@ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.sha }} #Checking out head commit + ref: ${{ github.head_ref }} #Checking out head commit - name: Generate ENV related extend file for docker-compose uses: cuchi/jinja2-action@v1.2.0 @@ -74,7 +74,7 @@ RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} POLKA_VERSION=${{ env.POLKA_VERSION }} FEATURE=${{ matrix.features }} - BRANCH=${{ github.event.pull_request.head.sha }} + BRANCH=${{ github.base_ref }} - name: Show build configuration run: cat .docker/docker-compose.${{ matrix.network }}.yml -- gitstuff