Skip to content

Commit ae7b463

Browse files
committed
chore: change the checkout target for the test
1 parent 092e01e commit ae7b463

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

.github/workflows/pr-test.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,8 @@ jobs:
3434
COMFYUI_MODELS_ROOT: "/home/nunchaku/comfyui_models"
3535
NUNCHAKU_TEST_CACHE_ROOT: "/home/nunchaku/nunchaku_test_root"
3636
steps:
37-
- name: Determine ref
38-
id: set-ref
39-
run: |
40-
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
41-
# Use the merged commit SHA for PRs
42-
echo "ref=${{ github.event.pull_request.merge_commit_sha }}" >> $GITHUB_OUTPUT
43-
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
44-
# Use github.event.inputs.ref if provided, else default to main
45-
if [[ -n "${{ github.event.inputs.ref }}" ]]; then
46-
echo "ref=${{ github.event.inputs.ref }}" >> $GITHUB_OUTPUT
47-
else
48-
echo "ref=main" >> $GITHUB_OUTPUT
49-
fi
50-
fi
5137
- name: Checkout
5238
uses: actions/checkout@v4
53-
with:
54-
ref: ${{ steps.set-ref.outputs.ref }}
55-
submodules: true
5639
- name: Show current commit
5740
run: git log -1 --oneline
5841
- name: Set up Python

0 commit comments

Comments
 (0)