forgejo/release-notes/8.0.0/fix
Gergely Nagy d6915f4d5f
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>
2024-05-20 11:20:11 +02:00
..
3363.md
3430.md
3442.md
3464.md Add a release note for #3464 2024-05-10 09:39:52 +02:00
3598.md Teach activities.GetFeeds() how to avoid returning duplicates 2024-05-09 18:33:33 +02:00
3675.md Fix an incorrect form submission in repo-issue.js (#3675) 2024-05-08 21:14:46 +00:00
3729.md chore(release-notes): [gitea] week 2024-20 cherry pick 2024-05-12 20:20:18 +02:00
3744.md Rename Str2html to SanitizeHTML and clarify its behavior (followup) (take 2) 2024-05-13 17:05:03 +02:00
3776.md chore(release-notes): update dependency mermaid to v10.9.1 2024-05-16 15:34:17 +02:00
3843.md badges: Relax the default workflow badge conditions 2024-05-20 11:20:11 +02:00