fix again
This commit is contained in:
@@ -17,12 +17,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: worktree base for diff
|
- name: merge base branch
|
||||||
run: |
|
run: |
|
||||||
|
git config user.email "ci@localhost"
|
||||||
|
git config user.name "CI"
|
||||||
git fetch origin ${{ github.event.pull_request.base.ref }}
|
git fetch origin ${{ github.event.pull_request.base.ref }}
|
||||||
git worktree add "$RUNNER_TEMP/base" "origin/${{ github.event.pull_request.base.ref }}"
|
git merge --no-edit origin/${{ github.event.pull_request.base.ref }}
|
||||||
|
|
||||||
|
- name: worktree base for diff
|
||||||
|
run: git worktree add "$RUNNER_TEMP/base" "origin/${{ github.event.pull_request.base.ref }}"
|
||||||
|
|
||||||
- name: build closures and render diff
|
- name: build closures and render diff
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user