Gitea's runs API returns path as "build-prerelease.yml@refs/heads/main",
so endswith(".yml") never matched and the guard counted 0 with a build
demonstrably in flight (run 3230 was cancelled by the test dispatch).
Match on startswith("<file>@") instead, with a null-guard for runs
lacking the field. Verified against the live API: counts the in-flight
run correctly.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
8.5 KiB
8.5 KiB