-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add support for latest
in Run-URL
#27911
Comments
The parameter behind |
latest
in Run-URL
In There is another problem. |
As @JOKUE2002 stated here, this is not a Gitea server, but a Forgejo server.
|
For starters it appears to be a forgejo server... But would still love to see this in gitea. |
Oh you're right. I just saw the UI and assumed that it is a gitea server. But after your comment I looked again and scrolled down a bit: "Powered by Forgejo" But I agree with you: I'd also love to see this feature in gitea. |
Proposal from #27911 (comment) When visit latest run path, such as `/{user}/{repo}/actions/runs/latest`. It renders latest run instead of index=0 currently.
Resolved by #31808 |
Description
Whilst trying to access the latest run of my action, I noticed, that the URL
https://my-gitea.tld/user/repo/actions/runs/latest
would always point to the run with the ID 0 (likehttps://my-gitea.tld/user/repo/actions/runs/0
). This would also work with any other word (e.g. 'hello', 'world', 'anything', ...) instead oflatest
.Would love to see "latest" to point to the newest run (run w/ highest ID) and any other word to point nowhere.
Couldn't reproduce on try.gitea.io because I have no action-runner I can access or repurpose available
Gitea Version
1.20.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.42.0
Operating System
Ubuntu 16.04.7 LTS
How are you running Gitea?
Downloaded binary with a systemctl service
Database
SQLite
The text was updated successfully, but these errors were encountered: