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:
parent
ce2e657108
commit
67393ef62d
1 changed files with 2 additions and 0 deletions
2
.github/workflows/pull_request.yml
vendored
2
.github/workflows/pull_request.yml
vendored
|
@ -31,6 +31,8 @@ jobs:
|
|||
- name: Checkout repository
|
||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
||||
|
|
Loading…
Reference in a new issue