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}