ci: fix checkout ref for PR builds
CI / test-build-push (pull_request) Successful in 1m53s

This commit is contained in:
Test
2026-09-06 06:14:23 -07:00
parent bc86fb7242
commit a48b6fdb54
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: | run: |
git init git init
git remote add origin https://forgejo.riotpiao.com/rock/poimen-workflows.git git remote add origin https://forgejo.riotpiao.com/rock/poimen-workflows.git
git fetch origin ${{ github.ref_name }} --depth=1 git fetch origin ${{ github.head_ref || github.ref_name }} --depth=1
git checkout FETCH_HEAD git checkout FETCH_HEAD
- name: Download dependencies - name: Download dependencies