Closed
Description
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 (like https://my-gitea.tld/user/repo/actions/runs/0
). This would also work with any other word (e.g. 'hello', 'world', 'anything', ...) instead of latest
.
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