Running within Gitea Actions creates releases on github.com #3900
-
I am asking myself what I'm doing wrong, but it could be that the goreleaser is at this time (still?) not capable of creating Gitea releases while running within Gitea Actions. I have configured my
But it seems that I can't create releases since Gitea Actions always attempts this:
Thus, my question: is there a way to direct |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
this looks like a bug... can you create and share a minimal reproducible example of it? |
Beta Was this translation helpful? Give feedback.
-
This is because Gitea Actions auto sets the env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} • loading environment variables
• using token from "$GITHUB_TOKEN"
• using token from "$GITEA_TOKEN"
⨯ release failed after 0s error=multiple tokens found, but only one is allowed: GITHUB_TOKEN, GITEA_TOKEN I've tried to set the env_files:
github_token: /dev/null It would be nice if you could configure it to a specific service instead of determining it from the token environment. |
Beta Was this translation helpful? Give feedback.
-
Could you check #3910 ? |
Beta Was this translation helpful? Give feedback.
-
Thank you, the PR you merged fixed the reported issue! |
Beta Was this translation helpful? Give feedback.
Could you check #3910 ?