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.
1 parent 6bced1c commit 4dfdc79Copy full SHA for 4dfdc79
.github/workflows/commit.yml
@@ -17,8 +17,10 @@ jobs:
17
fetch-depth: 0
18
ref: ${{ github.event.pull_request.base.ref }}
19
20
- - name: Checkout the current pull request branch
21
- run: git checkout ${{ github.event.pull_request.head.ref }}
+ - name: Checkout PR branch
+ run: |
22
+ git fetch --no-tags origin +refs/pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }}
23
+ git checkout ${{ github.event.pull_request.head.ref }}
24
25
- name: Install dependencies
26
run: npm ci
0 commit comments