diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 480f6e4..296df09 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -25,7 +25,7 @@ jobs: run: | git init 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 - name: Download dependencies