diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index e8b9622..f973814 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -43,6 +43,12 @@ jobs: steps: - uses: actions/checkout@v6 + with: + fetch-depth: 0 # Fetch all branches with their history for the next step + + - name: Ensure feature branches contain no merge commits + if: forgejo.ref_name != 'develop' && forgejo.ref_name != 'main' + run: "! git rev-list --merges origin/develop..HEAD | grep ." - name: Install R via system packages run: | @@ -57,7 +63,7 @@ jobs: - name: Install `uv` and `python3.13` run: | curl -LsSf https://astral.sh/uv/0.13.10/install.sh | sh - echo "$HOME/.local/bin" >> "$GITHUB_PATH" + echo "$HOME/.local/bin" >> "$FORGEJO_PATH" "$HOME/.local/bin/uv" python install 3.13 - name: Install `velofy` and its dependencies