diff options
Diffstat (limited to '.forgejo/workflows')
| -rw-r--r-- | .forgejo/workflows/tests.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.forgejo/workflows/tests.yml b/.forgejo/workflows/tests.yml index cc5fd00..27fbdee 100644 --- a/.forgejo/workflows/tests.yml +++ b/.forgejo/workflows/tests.yml @@ -17,7 +17,12 @@ jobs: apt-get install -y curl wget bash rlwrap unzip git - name: Checkout - uses: actions/checkout@v4 + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + git init + git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" + git fetch --depth 1 origin "${GITHUB_SHA}" + git checkout FETCH_HEAD - name: Install Java (Zulu 24) run: | |
