forgejo/release-notes/8.0.0
Gergely Nagy ef4c6abbb9 badges: Relax the default workflow badge conditions
Previously, if no branch was explicitly specified for a workflow, it
defaulted to the default branch of the repo. This worked fine for
workflows that were triggered on push, but it prevented showing badges
for workflows that only run on tags, or on schedule - since they do not
run on a specific branch.

Thus, relax the conditions, and if no branch is specified, just return
the latest run of the given workflow. If one is specified, *then*
restrict it to said branch.

Fixes #3487.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit d6915f4d5f)
2024-05-20 10:47:25 +00:00
..
fix badges: Relax the default workflow badge conditions 2024-05-20 10:47:25 +00:00
3572.md FIX gogs migration if gogs is hosted at a subpath (#3572) 2024-05-01 16:32:17 +00:00
3583.md Fix inconsistent required field (#3591) 2024-05-01 19:05:43 +00:00
3608.md [THEME] fix text selection color 2024-05-02 17:46:07 +00:00
3671.md fix(security): CVE-2024-24788 malformed DNS message 2024-05-08 14:47:59 +00:00
3730.md Port "Fix project name wrapping, remove horizontal margin on header" 2024-05-12 17:37:36 +05:00