ci(release): drop paths-ignore from the release finalize trigger

The promote PR now carries docs/changelogs/vX.Y.Z.md, and Prepare stable
branch explicitly tolerates producing no tag-string changes when the
digests are already stable. Together those can yield a docs-only promote
PR, which `paths-ignore: docs/**/*` would filter out — finalize never
runs, so the stable tag is never cut and the release is never published,
with no error raised anywhere.

The `if:` gate (merged + `release` label + release-bot author) is what
actually decides whether this workflow does anything, so let it do the
filtering. The cost is a skipped job on unrelated closed PRs.

Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
This commit is contained in:
Myasnikov Daniil committed 2026-07-24 11:33:10 +05:00
1 parent 75b5192f1b
commit ba67fea7df
1 file changed
+9 -2
+9 -2
View File
@@ -3,8 +3,15 @@ name: "Releasing PR"
on:
pull_request:
types: [closed]
paths-ignore:
- 'docs/**/*'
# No paths filter. A `paths-ignore: docs/**/*` used to live here as an
# optimization, but the promote PR now carries docs/changelogs/vX.Y.Z.md —
# and `Prepare stable branch` explicitly tolerates producing no tag-string
# changes ("digests already stable"). That combination can yield a docs-only
# promote PR, which the filter would drop: no finalize run, so no tag, no
# release, and no error anywhere. Filtering is left entirely to the `if:`
# gate below (merged + `release` label + release-bot author), which is what
# actually decides whether this workflow should do anything. The cost is a
# skipped job on unrelated closed PRs.
# Cancel in‑flight runs for the same PR when a new push arrives.
concurrency: