Skip to content
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

actions/checkout@v4 - /api/v1/repos/administrator/runner1/tarball/master - Page not found 404 #32481

Open
virtualdreams opened this issue Nov 12, 2024 · 2 comments
Labels
topic/api Concerns mainly the API topic/gitea-actions related to the actions of Gitea type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@virtualdreams
Copy link

virtualdreams commented Nov 12, 2024

Description

The action actions/checkout@v4 won't work if git not exists in docker container. The action tries to download from an invalid url. The url is also not available in /api/swagger.

Workflow

name: Runner1 Test Checkout
run-name: Runner1 Test Checkout
on: [push]

jobs:
  checkout:
    name: checkout
    runs-on: alpine
    defaults:
      run:
        shell: sh
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          ref: master

Output of act_runner in gitea

Deleting the contents of '/workspace/administrator/runner1'
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
Downloading the archive
404 page not found

Error in log from gitea

GET /api/v1/repos/administrator/runner1/tarball/master for 172.19.0.2:58436, 404 Not Found in 5.7ms @ http/server.go:2188(GlobalNotFound)

If i try to download manually

curl http://gitea.example.org:3000/api/v1/repos/administrator/runner1/tarball/master
404 page not found

Repository is public.

Gitea Version

1.22.3

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?

On host directly.

Database

MySQL/MariaDB

@Zettat123 Zettat123 added the topic/gitea-actions related to the actions of Gitea label Nov 12, 2024
@virtualdreams virtualdreams changed the title actions/checkout@v4 - /api/v1/administrator/runner1/tarball/master - Page not found 404 actions/checkout@v4 - /api/v1/repos/administrator/runner1/tarball/master - Page not found 404 Nov 12, 2024
@vcicmanec
Copy link

Facing the same issue, seems to be related to this
#29654

@lunny
Copy link
Member

lunny commented Nov 13, 2024

@lunny lunny added type/proposal The new feature has not been accepted yet but needs to be discussed first. topic/api Concerns mainly the API and removed type/bug labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/api Concerns mainly the API topic/gitea-actions related to the actions of Gitea type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

4 participants