Commit 68bfa4f
fix: ensure release failure comments are posted to PR
The comment job was not running when release failed because it checked
for 'released == true' which is never set on failure.
Changes:
- Changed condition from 'needs.release.outputs.released == true' to
'needs.release.result != skipped'
- Added default empty value for VERSION in failure comment
- Used bash parameter expansion to conditionally add 'v' prefix
This ensures PR comments are posted for both success and failure cases.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 187aebe commit 68bfa4f
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
0 commit comments