This commit is contained in:
2026-08-27 12:56:12 +02:00
parent 9e4b26e94e
commit c8fd86fad5
+7
View File
@@ -23,3 +23,10 @@ jobs:
echo "GITEA_TOKEN is EMPTY" echo "GITEA_TOKEN is EMPTY"
exit 1 exit 1
fi 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