chore: try fix pipeline
Some checks failed
Prepare pull request / prepare (pull_request) Failing after 4m57s

This commit is contained in:
Hewston Fox
2026-03-09 01:00:27 +02:00
parent 690f8a826e
commit 840f07eaa9

View File

@@ -10,8 +10,15 @@ jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Setup Checkout
uses: actions/checkout@v6
- name: Checkout
run: |
GITEA_HOST="${GITEA_HOST_IP:-172.20.0.1}"
git clone --depth 1 "http://oauth2:${GITHUB_TOKEN}@${GITEA_HOST}:3000/${{ github.repository }}.git" .
git fetch --depth 1 origin "${{ github.sha }}"
git checkout -q "${{ github.sha }}"
env:
GITHUB_TOKEN: ${{ github.token }}
GITEA_HOST_IP: ${{ secrets.GITEA_HOST_IP }}
- name: Setup pnpm
uses: pnpm/action-setup@v4