From 23526370e760d3352a37ea36dfe93c30111fc43e Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Wed, 18 May 2022 13:22:45 +0300 Subject: [PATCH] Updating git commands --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 385d8535..e49c9e5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,9 +197,11 @@ jobs: with: repository: 'oceanprotocol/ocean.js' path: 'ocean.js' + ref: main - name: checkout current branch run: | + git pull branch=${GITHUB_HEAD_REF#refs/heads/} echo ${branch} git checkout ${branch}