Cloning private Forgejo repositories without nodejs 0 ▲ glorifiedgluer 141 days ago · Tech · hide · Fediverse post Sometimes cloning a repository doesn't require a complex dependency tree. Plain git is enough! It's possible to leverate the forgejo context for the information needed to clone. The gotcha is that forgejo.server_url contains the protocol (ie. https://). You need to strip that before passing to Git: - name: Checkout run: | SERVER="${{ forgejo.server_url }}" git clone --depth=1 --branch "${{ forgejo.ref_name }}" \ "https://x-access-token:${{ secrets.FORGEJO_TOKEN }}@${SERVER#https://}/${{ forgejo.repository }}" . Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town