From f3070f484ccec37dac506ab95de890c751447a7f Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Thu, 18 Jan 2024 11:26:41 +0100 Subject: [PATCH] ci: try fetch with new url --- .forgejo/workflows/demo.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index c797084..86da748 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -13,7 +13,7 @@ jobs: run: git init /workspace/julien.oculi/test-forgejo-runner - name: Test checkout commands (remote) - run: git remote add origin http://localhost:10001/julien.oculi/test-forgejo-runner + run: git remote add origin http://localhost:10001/julien.oculi/test-forgejo-runner.git - name: Test checkout commands (config) run: "git config --local http.http://localhost:10001/.extraheader AUTHORIZATION: basic" @@ -24,8 +24,8 @@ jobs: - name: Debug git config (local) run: cd /workspace/julien.oculi/test-forgejo-runner && git config --local -l - # - name: Test checkout commands (fetch) - # run: git -c protocol.version=2 fetch -v --no-tags --prune --no-recurse-submodules --depth=1 origin +2b3aefde1b6cbdf9e0a3bce32f86a0d069fc7c37:refs/remotes/origin/main + - name: Test checkout commands (fetch) + run: git -c protocol.version=2 fetch -v --no-tags --prune --no-recurse-submodules --depth=1 origin +2b3aefde1b6cbdf9e0a3bce32f86a0d069fc7c37:refs/remotes/origin/main # - name: 'FIX: fetch actions/checkout@v4' # run: curl -vL --create-dirs -o /var/run/act/actions/actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js