mirror of
https://github.com/cozystack/cozystack.git
synced 2026-10-30 16:47:20 +09:00
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:
1 file changed
+9
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user