Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ !startsWith(github.ref_name, 'release-please--') }}

permissions:
contents: read
Expand Down
5 changes: 3 additions & 2 deletions widgets/last-race/f1_last_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
url: http://${F1_API_URL}:4463/f1/last_race/
template: |
<div class="flex flex-column gap-10">
{{ $rn := .JSON.String "raceName" }}
{{ $ru := .JSON.String "url" }}
<p class="size-h5">
<a href="{{ .JSON.String "url" }}" target="_blank" rel="noreferrer">{{ .JSON.String "raceName" }}</a>
{{ if $ru }}<a href="{{ $ru }}" target="_blank" rel="noreferrer">{{ $rn }}</a>{{ else }}{{ $rn }}{{ end }}
</p>
<p class="size-h6 color-base">{{ .JSON.String "date" }}</p>
<ul class="list collapsible-container" data-collapse-after="5">
{{ range $i, $v := .JSON.Array "results" }}
<li class="flex items-center {{ if eq $i 0 }}color-primary{{ else if eq $i 1 }}color-highlight{{ end }}">
Expand Down
2 changes: 1 addition & 1 deletion widgets/tyre-usage/f1_tyre_usage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- type: custom-api
title: Tyre Usage
cache: 30m
cache: 5m
url: http://${F1_API_URL}:4463/f1/tyre_usage/
# Usage only, not allocation: there's no structured source anywhere for a
# driver's pre-weekend tyre-compound allocation, so this only ever reports
Expand Down
Loading