mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 20:00:15 +10:00
ci: checkout PR with git commands [skip ci]
This commit is contained in:
8
.github/workflows/stable-linux.yml
vendored
8
.github/workflows/stable-linux.yml
vendored
@@ -48,9 +48,11 @@ jobs:
|
|||||||
ref: ${{ env.GITHUB_BRANCH }}
|
ref: ${{ env.GITHUB_BRANCH }}
|
||||||
|
|
||||||
- name: Checkout PR
|
- name: Checkout PR
|
||||||
uses: dawidd6/action-checkout-pr@v1
|
env:
|
||||||
with:
|
PR_ID: ${{ github.event.inputs.checkout_pr }}
|
||||||
pr: ${{ github.event.inputs.checkout_pr }}
|
run: |
|
||||||
|
git fetch origin pull/$PR_ID/head
|
||||||
|
git checkout FETCH_HEAD
|
||||||
if: github.event.inputs.checkout_pr != ''
|
if: github.event.inputs.checkout_pr != ''
|
||||||
|
|
||||||
- name: Clone VSCode repo
|
- name: Clone VSCode repo
|
||||||
|
|||||||
Reference in New Issue
Block a user