This commit is contained in:
2026-08-27 12:56:12 +02:00
parent 9e4b26e94e
commit c8fd86fad5
+8 -1
View File
@@ -22,4 +22,11 @@ jobs:
else else
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