Skip to content

Commit 314f13b

Browse files
committed
fix(ci): make disabled release workflow a green no-op instead of failing
A job with zero steps is invalid in GitHub Actions, so every evaluation of the disabled PyPI publish workflow recorded a red ✗. Add a single no-op step that preserves the disabled intent (no publishing) while keeping CI clean.
1 parent 976046d commit 314f13b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ permissions: {} # disabled
1515
jobs:
1616
build-and-publish:
1717
runs-on: ubuntu-latest
18-
steps: [] # disabled
18+
steps:
19+
# Disabled: GitHub fails a job with zero steps, so keep a single no-op
20+
# to keep the (tag-triggered) run green while publishing stays off.
21+
- name: Publishing disabled
22+
run: echo "PyPI publishing is disabled — no action taken."

0 commit comments

Comments
 (0)