github: checkout PR head when running checks (#1247)

Fixes: 29778e0e3d ("Strip down README to feature new docs and Discussions (#1243)")
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2020-12-11 11:23:48 +05:30
committed by GitHub
parent ce2e657108
commit 67393ef62d

View File

@@ -31,6 +31,8 @@ jobs:
- name: Checkout repository - name: Checkout repository
if: ${{ steps.service-changed.outputs.result == 'true' }} if: ${{ steps.service-changed.outputs.result == 'true' }}
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- name: Copy CI gradle.properties - name: Copy CI gradle.properties
if: ${{ steps.service-changed.outputs.result == 'true' }} if: ${{ steps.service-changed.outputs.result == 'true' }}