We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Checkout PR branch in async-substrate-interface
1 parent b6472d2 commit 410bf1cCopy full SHA for 410bf1c
.github/workflows/check-sdk-tests.yml
@@ -209,8 +209,9 @@ jobs:
209
- name: Checkout PR branch in async-substrate-interface
210
working-directory: ${{ github.workspace }}/async-substrate-interface
211
run: |
212
- git fetch origin ${{ github.event.pull_request.head.ref }}
213
- git checkout ${{ github.event.pull_request.head.ref }}
+ BRANCH="${{ github.event.pull_request.head.ref || github.ref_name }}"
+ git fetch origin $BRANCH
214
+ git checkout $BRANCH
215
echo "Current branch: $(git rev-parse --abbrev-ref HEAD)"
216
217
- name: Install async-substrate-interface with dev dependencies
0 commit comments