-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please make this work with Gitea actions (act runner) and less intrusive when using act runner locally. #317
Comments
We are happy to accept a PR for this support, depending on the level of complexity it might introduce. However, I don't think this is a goal for this project at the moment such that resources can be diverted to implementing said support. |
FWIW, I stumbled across the same problem and this issue. For anyone coming across here:
runner:
envs:
GITHUB_API_PAT: github_pat_... or on a per-repo/-user basis on Forgejo under Settings > Actions > Secrets.
jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
github-token: ${{ env.GITHUB_API_PAT }} This works at least for Forgejo (Actions). |
@christoph-heiss thanks for this. but to me this is more a work around than a solution. It seems that the action is doing something "special" for getting the Gleam version, while there seems to be no problem for the other repositories. We use a lot of actions with act_runner that do not have this problem. Usually the API token is just needed to prevent rate limiting. |
Yeah, that definitely weird and what I thought too. So I definitely rather work around this for the time being - just wanted to share this, in case others stumble upon here. |
When using setup-beam@v1 in a Gitea action it fails at installing Gleam. Erlang gets installed without problems but after that I get "::error::Unauthorized". To me it is unclear what the problem may be.
I am currently manually installing everything which works fine. Here my script for reference:
setup-beam@v1 is also working "fine" locally using the same runner as Gitea is using. But it is very unpleasant to follow, because it emit a lot of debug information. Here an example test.log
The text was updated successfully, but these errors were encountered: