navidrome/.github
Deluan d3bed09363 ci: fix three change-detection gaps found in review
`grep -q` exits on its first match, which closes the pipe under the still-
writing `printf`. Under `pipefail` the killed writer, not the successful match,
sets the exit status, so a large diff emitted `false` for an area that had
changed. It is a race rather than a buffer threshold: it starts firing at
around 1200 paths, well under the 64 KiB pipe buffer, and it kills the second
`grep` in the build pipeline too. Both pipelines are now here-strings. The
largest diff in this repo's history is 519 files, so this was latent, but a
repo-wide sweep or a mass directory move reaches it.

pipeline.yml and this script are now inputs to the go, js and i18n filters. A
pipeline-only change previously skipped every suite that pipeline.yml defines,
so a broken test command merged green and surfaced on master. Worse, a wrong
gating expression is invisible in every run: `outputs.golang` instead of
`outputs.go` reads as empty on master pushes too, and the suite disappears
silently and permanently. This change adds 63 such expressions. Of 82
historical pipeline-only commits, 38 edited a job that is now gated, and the
measured cost is about 12 extra full runs a year.

The download-link workflow returned before looking for its own previous
comment, so a PR that built binaries and then became docs-only kept advertising
artifacts from a commit that is no longer the head. That branch was unreachable
until this PR gated the build. It now deletes the stale comment. Deleting
rather than rewording is deliberate: the comment is matched by its header, so a
reworded body would either have to keep a header that contradicts it or start
posting duplicates. The lookup is also paginated now; it saw only the first 30
comments.
2026-09-05 14:25:03 -04:00
..
actions/prepare-docker ci: pull base images through mirror.gcr.io instead of ECR Public (#5997) 2026-08-20 10:02:04 -04:00
ISSUE_TEMPLATE Fix discussions links 2023-03-08 14:14:42 -05:00
screenshots Optimize static images (#1941) 2022-10-20 10:51:31 -04:00
workflows ci: fix three change-detection gaps found in review 2026-09-05 14:25:03 -04:00
dependabot.yml build: new pipeline, new way to cross-compile and build docker images locally. (#3388) 2024-10-15 16:46:01 -04:00
FUNDING.yml chore: add OpenCollective funding option 2026-07-22 12:19:50 -04:00
pull_request_template.md chore: add pull request template 2025-06-30 17:15:42 -04:00