generated from ztimson/template
Fixed review build
This commit is contained in:
9
.github/workflows/review.yml
vendored
9
.github/workflows/review.yml
vendored
@@ -7,14 +7,9 @@ jobs:
|
||||
review:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout PR
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Fetch base branch
|
||||
- name: Fetch code
|
||||
run: |
|
||||
git clone -b "${{github.ref_name}}" "$(echo ${{github.server_url}}/${{github.repository}}.git | sed s%://%://${{github.token}}@% )" .
|
||||
git fetch origin ${{ github.event.pull_request.base.ref }}
|
||||
git branch -r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user