Skip to content

Cannot click on action link if the commit message is empty #27901

Closed
@ldicarlo

Description

@ldicarlo

Description

When I commit using git commit --allow-empty-message -m ""
Then I cannot click on the link in the associated action.
The resulting html element is
<a class="index gt-no-underline title action-item-title" title="" href="/<AUTHOR>/<REPO>/actions/runs/1"></a>

Maybe we should have a placeholder here in case of missing message?

But this is really not a big problem, I just write it here so you know, but it is really minor.

Gitea Version

1.20.5

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

NixOS

How are you running Gitea?

using nix official gitea service

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions