Open
Description
Description
If I run a reusable workflow like this, it works:
jobs:
lint-codebase:
uses: http://${{ secrets.A_SECRET_TO_ACCESS_REPO }}:@my-gitea/my-org/my-repo/.gitea/workflows/my-reusable-workflow.yaml@main
however, trying another ref (sha or branch) (in this case, branch test):
jobs:
lint-codebase:
uses: http://${{ secrets.A_SECRET_TO_ACCESS_REPO }}:@my-gitea/my-org/my-repo/.gitea/workflows/my-reusable-workflow.yaml@test
it fails with:
git clone ' http://${{ secrets.A_SECRET_TO_ACCESS_REPO }}:@my-gitea/my-org/my-repo/.gitea/workflows' # ref=test
.
.
parse " http://${{ secrets.A_SECRET_TO_ACCESS_REPO }}:@my-gitea/my-org/my-repo/.gitea/workflows": net/url: invalid userinfo
Gitea Version
1.23.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker/k8s/rancher
Database
None