Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Release content cannot be downloaded using GITEA_TOKEN or GITHUB_TOKEN in Actions #32472

Open
bearki opened this issue Nov 11, 2024 · 1 comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@bearki
Copy link

bearki commented Nov 11, 2024

Description

Cannot be used in the Actions GITEA_TOKEN or GITHUB_TOKEN to http://mygit.com/owners/repo/releases/download/v1.0.0/test.zip?token=${{ gitea.token }} is used to download content

Gitea Version

1.23.0+dev-607-g66971e591e

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

None

@lunny lunny added issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail and removed type/bug labels Nov 11, 2024
@lunny
Copy link
Member

lunny commented Nov 11, 2024

It depends on where the actions are running. If it's triggered by a push event, it should be allowed. If it's from a pull request of forked repositories.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

2 participants