diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2a26972..bf8a100 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -22,4 +22,11 @@ jobs: else echo "GITEA_TOKEN is EMPTY" exit 1 - fi \ No newline at end of file + fi + + - name: Test Git authentication + env: + TOKEN: ${{ secrets.GITEA_TOKEN }} + run: | + git -c http.extraheader="Authorization: Bearer $TOKEN" \ + ls-remote https://git.***-harat.com/OWNER/REPO.git